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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

exporting CSV

(0) ShareShare
ReportReport
Posted on by 23

Hello, community,

I have the Power BI data set as below:

DateClientTypeItemValue
1/12/2022clienttype 1item 15
2/12/2022clienttype 1item 15
3/12/2022clienttype 1item 15
1/12/2022clienttype 2item 25
2/12/2022clienttype 2item 25
3/12/2022clienttype 2item 25
1/12/2022clienttype 3item 15
2/12/2022clienttype 3item 15
3/12/2022clienttype 3item 15
1/12/2022clienttype 4item 25
2/12/2022clienttype 4item 25
3/12/2022clienttype 4item 25
1/12/2022clienttype 5item 30
2/12/2022clienttype 5item 30
3/12/2022clienttype 5item 30
1/12/2022clienttype 5item 40
2/12/2022clienttype 5item 40
3/12/2022clienttype 5item 40
1/12/2022clienttype 5item 50
2/12/2022clienttype 5item 50
3/12/2022clienttype 5item 50

 

I am trying to Export a Scheduled CSV file in the SharePoint folder as below:

DateKeyClientTypeitem 1item 2item 3item 4item 5Totals
1/12/2022clienttype 5000000
1/12/2022clienttype 4050005
1/12/2022clienttype 3500005
2/12/2022clienttype 5000000
2/12/2022clienttype 4050005
2/12/2022clienttype 3500005
3/12/2022clienttype 5000000
3/12/2022clienttype 4050005
3/12/2022clienttype 3500005

 

So basically, I need to filter "Type" column by type3, type 4, type 5 and Pivot "Item" & "value" columns by "Value" and create a new column called "Totals". So the Total column will be Sum(Item).

 

I tried doing this in different ways by writing the queries against the dataset, but still, I got to do some manual processes.

 

and also the Date column also giving weird formats like dd-mm-yyyyThh:mm:ss.

 

Can somebody suggest to me the best and most automated process, please? 

 

Thanks in advance.

I have the same question (0)
  • lbendlin Profile Picture
    8,726 Super User 2026 Season 1 on at

    Do your filtering/pivoting directly in the DAX query,

  • jaipalambati Profile Picture
    23 on at

    @lbendlin  I am not sure if I can pivoting in the DAX, but filtering yes.

  • lbendlin Profile Picture
    8,726 Super User 2026 Season 1 on at

    Create a visual that gives you the desired format, then copy the DAX query from the Performance analyzer.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 246 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 176

#3
Haque Profile Picture

Haque 157

Last 30 days Overall leaderboard