Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

DAX to summarize multiple ratings
11-21-2022
07:02 AM
Hi all,
I would like to create a measue to show the overall oil condition of multiple different oil tests.
In the screenshot below you can see different results for multiple components of one maschine (action needed (action), caution, normal (all good)) and I would like to summarize those results to show them in an end result per maschine.
The logic should be this:
All components normal -> result: normal
At least one component caution but rest normal -> result: caution
At least one component action -> result: action
Maybe someone has an idea how to create such measure?
Solved! Go to Solution.
1 ACCEPTED SOLUTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2022
07:31 AM

Try to create a new with the code below:
Measure =
VAR _min = MIN(TableName[Ranking])
RETURN
IF(
_min = "Action",
"Action",
IF(
_min = "Caution",
"Caution",
"Normal"
)
)
I tried and it worked like this:
dataset:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2022
11:24 PM

Works perfectly fine, thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2022
07:31 AM

Try to create a new with the code below:
Measure =
VAR _min = MIN(TableName[Ranking])
RETURN
IF(
_min = "Action",
"Action",
IF(
_min = "Caution",
"Caution",
"Normal"
)
)
I tried and it worked like this:
dataset:

Helpful resources
Recommendations
Subject | Author | Posted | |
---|---|---|---|
08-09-2024 05:59 AM | |||
08-09-2024 01:42 AM | |||
01-28-2025 03:52 AM | |||
08-04-2024 08:10 PM | |||
09-14-2024 02:00 PM |
Featured Topics
Top Kudoed Authors (Last Month)
User | Count |
---|---|
114 | |
92 | |
84 | |
54 | |
46 |