Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi all,
I made a calculated measure that gives me a threshold for the status of our machines:
Solved! Go to Solution.
Hi @Anonymous
you will have to create a separate measure for each status. I have not tested it against Hana, but it works with MS SSAS:
Amber =
COUNTROWS (
CALCULATETABLE (
VALUES ( 'yourTable'[MachineID] ),
FILTER ( 'yourTable', [DateDiff Last Audit] > 14 && [DateDiff Last Audit] > 39 )
)
)
Cheers,
Sturla
If this post helps, then please consider Accepting it as the solution. Kudos are nice too.
@Anonymous , not very clear. Ate you try to put a measure on Axis ?
You have to check for binning
SEGMENTATION
https://www.daxpatterns.com/dynamic-segmentation/
https://radacad.com/grouping-and-binning-step-towards-better-data-visualization
Hi amitchandak,
I would like the result to be displayed on a card. So, for instance, a card for Green status with the sum of all the machines that fell into green on the threshold. I currently have one calculated measure (threshold) and one column (machine serial). If i put them into the table vizualization, it works fine, but i cannot seem to get the total of machines under each of the thresholds.
I read the articles you suggested, but they rely on a disconnected table or on grouping, and none of these options are possible to me due to the Hana connecton. Any other thoughts?
Hi @Anonymous
you will have to create a separate measure for each status. I have not tested it against Hana, but it works with MS SSAS:
Amber =
COUNTROWS (
CALCULATETABLE (
VALUES ( 'yourTable'[MachineID] ),
FILTER ( 'yourTable', [DateDiff Last Audit] > 14 && [DateDiff Last Audit] > 39 )
)
)
Cheers,
Sturla
If this post helps, then please consider Accepting it as the solution. Kudos are nice too.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 15 | |
| 8 | |
| 8 | |
| 8 |