Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi, I have a problem with total in my prepared measure, I know that need to user hasonevalue function but my all ideas doesn't work.
My measure:
Solved! Go to Solution.
Hi @mic_rys,
According to the description, it seems like a common measure total level calculation issues.
If that is the case, I'd like to suggest you refer to the following link to know how to handle this scenario.
Measure Totals, The Final Word
Regards,
Xiaoxin Sheng
@mic_rys , Change the return like
sumx( addcolumns(summarize( Table, Clients[Code] , 'Date'[Year Month]), "_1", calculate(IF ( HASONEVALUE ( Clients[Code] ), FillEmpty ,BLANK() ))), [_1])
@mic_rys ,
can you simply keep this in return
sumx( addcolumns(summarize( Table, Clients[Code] , 'Date'[Year Month]), "_1", calculate(IF ( HASONEVALUE ( Clients[Code] ), FillEmpty ,BLANK() ))), [_1])
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
@amitchandak
It's live connection so it not easy to simplify the data but I can show part of the model which is used.
The result of your code is:
Hi @mic_rys,
According to the description, it seems like a common measure total level calculation issues.
If that is the case, I'd like to suggest you refer to the following link to know how to handle this scenario.
Measure Totals, The Final Word
Regards,
Xiaoxin Sheng
HI, thanks, it helped somewhat! I added extra measure and now it summarizes well!
User | Count |
---|---|
12 | |
11 | |
8 | |
7 | |
6 |
User | Count |
---|---|
25 | |
19 | |
14 | |
10 | |
7 |