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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
rbalza
Helper III
Helper III

Range Values for Dial Gauge - DAX

Hi Power Bi Friends,

 

Hope you guys having an awesome day. I was wondering how to do range values that will be use for dial gauge in DAX. For example, I have two measures [Total Sales] and  [Budget Allocation].

Ranges will be like this
Range 1 = if total sales is 80% below budget allocation
Range 2 = if total sales is in between 80% and 90% of budget allocation
Range 3 = if total sales is greater than the budget allocation

1 REPLY 1
SivaMani
Resident Rockstar
Resident Rockstar

@rbalza,

 

Try the below DAX in a measure. Hope it matches with your requirement.

 

Ranges =
VAR __Per =
    DIVIDE ( [Total Sales], [Budget Allocation] )
RETURN
    SWITCH (
        TRUE (),
        __Per < 0.8, "Range1",
        __Per >= 0.8
            && __Per <= 0.9, "Range2",
        "Range2"
    )

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.