web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Convert csv file to JS...
Power Automate
Unanswered

Convert csv file to JSON format

(0) ShareShare
ReportReport
Posted on by 221

Is there a way to convert csv files to JSON format?

I have tried searching for same question but no luck.

Please advise.

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Could you please post a sample format of your CSV file? Is that got a header?

  • JeffGimo Profile Picture
    221 on at

    Please see picture as I can't attach the csv file.

    JeffGimo_0-1611169091267.png

     

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at
  • JeffGimo Profile Picture
    221 on at

    The sample examples are not working as per my testing. Will wait for another response. There might be some work around here.

  • Paulie78 Profile Picture
    8,422 Moderator on at

    You really should be able to post a sample of the CSV here, even if it is only a few lines. If you would like a compelling response it would be really helpful. You can fictionalise the data if it is sensitive.

  • JeffGimo Profile Picture
    221 on at

    Here's the sample data:

    Session Data by ID     
    SSIDSession Count (%)Client Count (%)Duration (%)Total Usage (%)Usage (In/Out)
    test190 (54.22%)26 (48.15%)1d:11h:35m (62.06%)939.09MB (50.69%)814.94MB/124.15MB
    -36 (21.69%)13 (24.07%)0d:2h:55m (5.09%)0.00B (0.0%)0.00B/0.00B
    test221 (12.65%)13 (24.07%)0d:8h:35m (14.97%)538.12MB (29.05%)500.54MB/37.58MB
    test314 (8.43%)8 (14.81%)0d:8h:0m (13.95%)25.28MB (1.36%)20.60MB/4.68MB
    test43 (1.81%)2 (3.7%)0d:0h:20m (0.58%)55.76KB (0.0%)26.93KB/28.84KB
    test52 (1.2%)1 (1.85%)0d:1h:55m (3.34%)350.14MB (18.9%)338.73MB/11.41MB
  • Paulie78 Profile Picture
    8,422 Moderator on at

    But that isn't a CSV. If you want a good result, you should post the CSV that you are going to use in Power Automate.

  • JeffGimo Profile Picture
    221 on at

    Sorry. Can you teach me how to upload a csv file? I get this error below upon trying.

    JeffGimo_1-1611251097713.png

     

  • Paulie78 Profile Picture
    8,422 Moderator on at

    Just open the CSV on your machine, copy and paste a few lines, ideally into the code window:

    2021-01-21_17-48-16.gif

  • JeffGimo Profile Picture
    221 on at

    Thank you so much.
    here it is

    Session Data by SSID,,,,,
    SSID,Session Count (%),Client Count (%),Duration (%),Total Usage (%),Usage (In/Out)
    test1,90 (54.22%),26 (48.15%),1d:11h:35m (62.06%),939.09MB (50.69%),814.94MB/124.15MB
    -,36 (21.69%),13 (24.07%),0d:2h:55m (5.09%),0.00B (0.0%),0.00B/0.00B
    test2,21 (12.65%),13 (24.07%),0d:8h:35m (14.97%),538.12MB (29.05%),500.54MB/37.58MB
    test3,14 (8.43%),8 (14.81%),0d:8h:0m (13.95%),25.28MB (1.36%),20.60MB/4.68MB
    test4,3 (1.81%),2 (3.7%),0d:0h:20m (0.58%),55.76KB (0.0%),26.93KB/28.84KB
    test5,2 (1.2%),1 (1.85%),0d:1h:55m (3.34%),350.14MB (18.9%),338.73MB/11.41MB

    . Thanks for the instruction. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard