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! Learn more

Reply
lucasneedhelp
Helper I
Helper I

Unable to compare Act vs. Bud when there's both number and percentage

Hi guys,

I'm stuck with a DAX expression here when comparing actuals vs. budget that contain both number and percentage.

 

The formular i use to get Actual and Budget is:

SWITCH(
    SELECTEDVALUE('P&L Structure'[P&L Description]),
    "Event Delivery Margin $", FORMAT(CALCULATE([Event Delivery Margin $],ALL('P&L Structure')),"#,##0,.0"),
    "Event Delivery Margin %", FORMAT(CALCULATE([Event Delivery Margin %],ALL('P&L Structure')),"0.0%"))
so that I can have both number and percentage in my Matrix visual like below
lucasneedhelp_0-1673238625696.png
then i use iserror(value(),blank()) to convert text to value, so that i can do another measure to compare act vs. bud, but it only returns number and leaves % as blank
 
any idea why it happens and how can i correct it?
 
thanks heaps!!!!!!
1 ACCEPTED SOLUTION
Mahesh0016
Super User
Super User

@lucasneedhelp  can share your measure to compare act vs. bud.

View solution in original post

2 REPLIES 2
Mahesh0016
Super User
Super User

@lucasneedhelp  can share your measure to compare act vs. bud.

Hi Mahesh0016

sorry for the late response. new to the forum.

i've figured this out 

thanks anyway 

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.