Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
moslefn
New Member

Bucket location based on two data points

So far I have two DAX MEASURES that result in a text bucket.

9 Quad SC = IF('SC- A'[SC%]>.20,"Top",IF('SC- A'[SC%]>.10,"Mid","Low"))
9 Quad Util = if(AVERAGE('Util- A'[Utilization])>.95,"Top",IF(AVERAGE('Util- A'[Utilization])>.80,"Mid","Low"))
 
Based on the combo of these outcomes, I want to classify my locations as follows:

9 Categories for centers

  • Top Performers (above 95% utilization/above 20% SC)
  • Moderate Cost Drivers (above 95% utilization/10-20% SC)
  • Moderate Enrollment Needs (80-95% utilization/above 20% SC)
  • Moderate Performers (80-95% utilization/10-20% SC)
  • High Enrollment Needs (below 80% utilization/above 20% SC)
  • High Cost Drivers (above 95% utilization/below 10% SC)
  • Moderate Focus - Enrollment (below 80% utilization/10-20% SC)
  • Moderate Focus - Cost Drivers (80-95% utilization/below 10% SC)
  • High Focus School (below 80%/below 10% SC)

 

But, my IF/AND formauls will not reference 9 Quad SC/Util measures...HELP!

Open to any help to achieve the final outcome. 

1 ACCEPTED SOLUTION
vanessafvg
Super User
Super User

if you are creating a measure to get these measures, i would definitely suggest you first look using switch statements as they are easier to read with multiple conditions that if statements if you aren't aware of them already.

 

Secondly if you are creating a measure you do need to first aggregate (either sum, count, min, max) the results of your if statement before you can reference it in a measure.  Hope that makes sense. 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




View solution in original post

1 REPLY 1
vanessafvg
Super User
Super User

if you are creating a measure to get these measures, i would definitely suggest you first look using switch statements as they are easier to read with multiple conditions that if statements if you aren't aware of them already.

 

Secondly if you are creating a measure you do need to first aggregate (either sum, count, min, max) the results of your if statement before you can reference it in a measure.  Hope that makes sense. 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.