Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi, I have a problem in the total measure.
For example, in the column 1 and 2021-07, it shows 5 but 6 in total. How can I solve this problem?
You can download sample file from the next link.
https://drive.google.com/file/d/15fXvj9jYLh6yw8x3fpLK9PLuQ_6XWIeu/view?usp=sharing
thanks for your help!!!
Solved! Go to Solution.
@yugofukuda , Change this measure
Service = sumx(ADDCOLUMNS(SUMMARIZE('Table', 'Table'[Month], 'Table'[Month dif]), "_1",CALCULATE(count('Table'[Service date]),FILTER(ALL('Table'[Month dif]),'Table'[Month dif]<=MAX('Table'[Month dif])))),[_1])
@yugofukuda , Change this measure
Service = sumx(ADDCOLUMNS(SUMMARIZE('Table', 'Table'[Month], 'Table'[Month dif]), "_1",CALCULATE(count('Table'[Service date]),FILTER(ALL('Table'[Month dif]),'Table'[Month dif]<=MAX('Table'[Month dif])))),[_1])
Thank you very much!!! it works well!!!
| User | Count |
|---|---|
| 59 | |
| 47 | |
| 31 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 77 | |
| 66 | |
| 46 | |
| 22 | |
| 22 |