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.
Hi all,
I have been trying to make a New Column called "IMDD Category" with a switch formula that categorizes it into "INSPIRED" or "NOT INSPIRED". The formula is as such:
We need to see if the following rating is less than 4, then see if the employee is in the Junior/Mid/Senior Level. If he is at the Junior level and has less than 4 ratings, he is inspired. If he is at the middle and the senior, then he is inspired too. However, if the ratings are more than 4, he is uninspired. I know there is data in my table that counts as uninspired. But when I check it, there is no uninspired data after this formula as shown in the below picture
Kindly help me know where I am going wrong and correct me.
Thanks and Regards,
Pramita
Solved! Go to Solution.
Hi @pramita ,
not very clear from your table.
What does measure Junior Count do ? Can you share some sample data.
Also, You can try
SWITCH(
TRUE(),
OUTPUT[Ratings])< 4 && Output[Status] = "Junior", "Inspired",
OUTPUT[Ratings])< 4 && Output[Status] = "Middle", "Inspired",
OUTPUT[Ratings]) > 4 , "Uninspired"
)
Regards,
Harsh Nathani
@pramita , formula ha issue. what does this do
CALCULATE(
[JUNIOR COUNT],
OUTPUT[Ratings])
or
- CALCULATE(
[MID COUNT],
OUTPUT[Ratings])
or
CALCULATE(
[SENIOR COUNT],
OUTPUT[Ratings])
Can you share sample data and sample output in table format?
Hi @pramita ,
not very clear from your table.
What does measure Junior Count do ? Can you share some sample data.
Also, You can try
SWITCH(
TRUE(),
OUTPUT[Ratings])< 4 && Output[Status] = "Junior", "Inspired",
OUTPUT[Ratings])< 4 && Output[Status] = "Middle", "Inspired",
OUTPUT[Ratings]) > 4 , "Uninspired"
)
Regards,
Harsh Nathani
@harshnathani thanks for replying,
Junior count is a measure that counts how many people are In the junior level
@harshnathani Thanks for replying
I am attaching the data link for further reference.
https://docs.google.com/spreadsheets/d/1hHKXhP-ZVbdV6GMv-KOtXLn65oVlizgkjzChgNip9m0/edit?usp=sharing
There are 4 measures, INSPIRED, MOTIVATED, DISENCHANTED and DETACHED.
I need to make a column and categorize it into the above 4 values.
I am also listing down my measures:
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 |
---|---|
115 | |
100 | |
88 | |
68 | |
61 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |