Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi. I have water measurers latest values in table and lets say 10 devices. 3 are main measurers. that means that sum of thoes 3 measures should be qual to the sum of other 7 measurers values. there are 10 values, one for each device. how can i add thoes 3 and thoes 7 seperately and then compare them.
Solved! Go to Solution.
Hi @giorgilomidze,
You can create a measure below:
Measure = CALCULATE(SUM(Table1[Device Value]),FILTER(ALL(Table1),'Table1'[Device Level]=MAX(Table1[Device Level])))
For details, see attached pbix file.
Best Regards,
Qiuyun Yu
Hi @giorgilomidze,
Would you please use some dummy data to clarify the 10 measures? Also please explain the expected results.
Best Regards,
Qiuyun Yu
i need measure to show sum of values of first three Devices and measure to show sum of other 7 devices.
Hi @giorgilomidze,
You can create a measure below:
Measure = CALCULATE(SUM(Table1[Device Value]),FILTER(ALL(Table1),'Table1'[Device Level]=MAX(Table1[Device Level])))
For details, see attached pbix file.
Best Regards,
Qiuyun Yu
| User | Count |
|---|---|
| 51 | |
| 35 | |
| 29 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 57 | |
| 39 | |
| 22 | |
| 21 |