Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi
I have 3 tables and I merge them using PQ. Now I want to create a table in PowerBI which shows SalesPerson and Amount (Net).
When I creat a table, it wont summerize (add). For example, I expect Power Bi will add all Liz's transcations and give one number instead of 4. Also the Grand total is not added automatically in my table. Thank you very much.
PS: the Power BI file is here
https://drive.google.com/file/d/1XVIJgkdbRpouHIhjJv_U3GfUFp9KeLy0/view?usp=sharing
Solved! Go to Solution.
Hi,
Download the PBI file from here. The data type of he net column was Text. I changed it to Decimal in the Query Editor an wrote a simple SUM measure.
Hope this helps.
Also, changed one relationship (this is not required thought because you have merged data from all tables to just 1.
Thank you very much.
You are welcome.
@lastnn30 Hi First change relationship as from Single to Both as per below snap:
Then create measure as per below:
Measure = var _S = SUM('Table (2)'[Amount])
var _C = SUM('Table (2)'[Amount]) * MIN('Table (3)'[Commision])
var _F = _S - _C
return
_F
finally create table as per below:
Table = SUMMARIZE('Table', 'Table'[SalesPerson], "Raq" ,[Measure])
Hi,
Share the download link of the file 8.xlsx
Thank you. Here is the link
Thanks again
Hi,
Download the PBI file from here. The data type of he net column was Text. I changed it to Decimal in the Query Editor an wrote a simple SUM measure.
Hope this helps.
Also, changed one relationship (this is not required thought because you have merged data from all tables to just 1.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 65 | |
| 31 | |
| 28 | |
| 24 |