Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have a table with the below values (this is a DirectQuery to an Azure SQL DB).
As you can see that is a list of VMs per region and per SKU (type of VM). I need to be able to summarize the amount of VMs to be able to show how many we have per region.
The problem is we have some duplicates (we need them unfortunatelly), so when I group by region and SUM the value of "VMsAmount" it is duplicating some amount, for instance the selected row on the screenshot and the row below needs to be added just once.
The result I'm looking for with the above data is:
Unfortunatelly I'm receiving 137 for the westeurope region for that duplicate row.
Thank you guys.
Solved! Go to Solution.
You may use measure below.
Measure = SUMX ( SUMMARIZE ( Table1, Table1[Location], Table1[SKU] ), CALCULATE ( MAX ( Table1[VMSAmount] ) ) )
You may use measure below.
Measure = SUMX ( SUMMARIZE ( Table1, Table1[Location], Table1[SKU] ), CALCULATE ( MAX ( Table1[VMSAmount] ) ) )
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |