Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I also have a question with DistinctCount : I have a table with downtimes impacting several customers, I would like to have the sum of downtimes durations regardless of how many customers they impact :
For example :
I would like to have 70 here : 10 + 15 + 45
and not 90 (the sum of every lines) or 18 (90/5).
How can I have that with a measure?
Thank you!
Solved! Go to Solution.
@AnthonyXelya , Try measure in one of the two ways
sumx(summarize(Table, Table[downtimeID], Table[downtimeDuration]),[downtimeDuration])
or
sumx(summarize(Table, Table[downtimeID], "_1", max(Table[downtimeDuration])),[_1])
Is this OK?
or
@AnthonyXelya , Try measure in one of the two ways
sumx(summarize(Table, Table[downtimeID], Table[downtimeDuration]),[downtimeDuration])
or
sumx(summarize(Table, Table[downtimeID], "_1", max(Table[downtimeDuration])),[_1])
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 9 | |
| 6 | |
| 6 |