Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Run a query against a dataset

(0) ShareShare
ReportReport
Posted on by 160

Hey,

 

i got a flow where i a table out of my Power BI report and save it as a .csv in a Sharepoint  folder. 

wshalex123_0-1667990912794.png

 

This is my query text:

DEFINE
VAR _ma1 =
SUMMARIZECOLUMNS(
"Urlaub", SUM(PersonnelManagement_EmployeeDayBalances[Offene Urlaubsstunden]),
"Zeitausgleich", SUM(PersonnelManagement_EmployeeDayBalances[Offener Zeitausgleich])
)
EVALUATE
_ma1

 

-> I researched the web a lot and imo the query text should be correct.

 

Results:

wshalex123_1-1667991061804.png

 

Question:

Why doesn't it seperate it in two columns?

 

In DAX editor it's seperating the results in 2 columns...

wshalex123_2-1667991167660.png

 

 

Would be happy if someone can help me out 🙂 

 

 

 

 

  • wshalex123 Profile Picture
    wshalex123 160 on at
    Re: Run a query against a dataset

    Hi @lbendlin,

     

    thanks for you help. How do i change the delimiter in the "create csv" action? There aren't any dynamic values here 

    wshalex123_0-1668411273470.pngwshalex123_1-1668411299010.png

     

     

  • lbendlin Profile Picture
    lbendlin 7,597 on at
    Re: Run a query against a dataset

    This is working as designed .   (you can simplify it by

    EVALUATE SUMMARIZECOLUMNS(
    "Urlaub", SUM(PersonnelManagement_EmployeeDayBalances[Offene Urlaubsstunden]),
    "Zeitausgleich", SUM(PersonnelManagement_EmployeeDayBalances[Offener Zeitausgleich])
    )

    Your next step (Csv-Tabelle erstellen) is converting the result of the DAX query into a table. Make sure you specify the right column separator.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard

Featured topics