Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a table that show failure in a line production
I need to create a formular to measure reliability based on the number of events of a specific station
like this
If number of events <50 High reliability
If number of events >=50 and <75 Regular reliability
If number of events >=75 and <99 Medimm Reliability
If number of events >= 99 and <140 Bad Reliability and lastly
If number of events <140 Non-reliable
This number of events are filtered by a specific station "DJM370"
Is this posible?
and if a change the date filtered to current month, last week or last 3 months does th reliable value gonna change?
Solved! Go to Solution.
Hello @EC3 ,
Try the SWITCH() function.
Reliability =
SWITCH (
TRUE (),
Actuators[Events] < 50, "High Efficiency",
Actuators[Events] >= 50
&& Actuators[Events] < 75, "Regular Efficiency",
Actuators[Events] >= 75
&& Actuators[Events] < 99, "Medium Efficiency",
Actuators[Events] >= 99
&& Actuators[Events] < 140, "Low Efficiency",
Actuators[Events] >= 140, "Very Low Efficiency"
)
Best regards
Jay
@Anonymous , seem like you need dynamic segmentation, See if my video can help: https://www.youtube.com/watch?v=CuczXPj0N-k
You need to have an independent table and then use this new table to bin the measure and create anew measure where you can use this bucket
or refer: https://www.daxpatterns.com/dynamic-segmentation/
https://radacad.com/grouping-and-binning-step-towards-better-data-visualization
Hello @EC3 ,
Try the SWITCH() function.
Reliability =
SWITCH (
TRUE (),
Actuators[Events] < 50, "High Efficiency",
Actuators[Events] >= 50
&& Actuators[Events] < 75, "Regular Efficiency",
Actuators[Events] >= 75
&& Actuators[Events] < 99, "Medium Efficiency",
Actuators[Events] >= 99
&& Actuators[Events] < 140, "Low Efficiency",
Actuators[Events] >= 140, "Very Low Efficiency"
)
Best regards
Jay
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
95 | |
77 | |
68 | |
54 |
User | Count |
---|---|
144 | |
105 | |
102 | |
89 | |
63 |