Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have the following Table.
I want tio achieve this in Power Query/Power BI.
If someone can please help, would be great.
Thank you in advance.
Solved! Go to Solution.
Hi @smpa01,
In Power Query, you can use one of the following methods to display the total row.
a. Select data range in Power Query, right click data range, choose Table->Totals Row.
b. Select data range in Power Query, right click data range, choose “Quick Analysis”, then “Totals” and select your desired aggregation function.
Thanks,
Lydia Zhang
Just import the table into Power BI Desktop and use a table visualization to display it. Table visuals automatically include a total row.
Thanks for your suggestion. I should havve mentioned this prior to posting this problem. I have already tried this and I can see a row called TOTAL for the columns with numerical values being generated by Power BI desktop Visualizations when the data is organised in a Table Visualization. However, when I export the same table, it gets exported in CSV and same TOTAL row is omitted altogether.So I tried exporting the same CSV into a Power Query to find a solution. But I couldn't.
I aim to generate a report which will contain the aggregate of some of the columns that I want with numerical values.
Is there a way to solve this.
To be clear, when you say "generate a report" you are referring to generating a CSV file, correct?
When I say generate a report I do mean generating a CSV file which will containg the desired aggregate I want. Since it did not, I tried to the same task with Power Query where my source file was that CSV file exported from Power BI desktop.
Hi @smpa01,
In Power Query, you can use one of the following methods to display the total row.
a. Select data range in Power Query, right click data range, choose Table->Totals Row.
b. Select data range in Power Query, right click data range, choose “Quick Analysis”, then “Totals” and select your desired aggregation function.
Thanks,
Lydia Zhang
User | Count |
---|---|
75 | |
74 | |
44 | |
31 | |
27 |
User | Count |
---|---|
99 | |
89 | |
52 | |
48 | |
46 |