Forum Discussion
Help with dax formula
Hi Syndicate_Admin,
Your table needs to have an index or serial number column to distinguish each 'Event', if not, please add an index column.
Try measure as:
Measure=
IF(
ISFILTERED('AFO Global Report'[Project Code]),
CALCULATED(
MAX('AFO Global Report'[Last Quality Event Description]),
FILTER(
'AFO Global Report'[INDEX]=MAX('AFO Global Report'[INDEX])
)),
BLANK()
)
Best Regards,
Link
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
good!
Thank you for your reply, but I'm afraid in this case the measure is not correct.
The measure would be like that anyway, wouldn't it?
Measure=
IF(
ISFILTERED('AFO Global Report'[Project Code]),
CALCULATED(
MAX('AFO Global Report'[Last Quality Event Description]),
FILTER(
'AFO Global Report',MAX('AFO Global Report'[INDEX])
)),
BLANK()
)
- v-xulin-mstf5 years agoCommunity Support
Hi Syndicate_Admin,
Ah, sorry, I made a mistake.
You are right.
Anyway, does it work well?
Best Regards,
LinkIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
- Syndicate_Admin5 years agoAdministrator
Hello!
Thank you, as usual.
In this case it is not good for me because it shows me project value with the highest "index". And what I want is for you to show me a value for each project selected in the multiple segmentation selection.
- v-xulin-mstf5 years agoCommunity Support
Sorry, could you provide your pbix after removing sensitive information?
I will try it in my environment.
Best Regards,
LinkIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.