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

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

Reply
Pilot
Regular Visitor

formatting in a single measure column (% and Integer)

Hi All,

 

Wondering if you can assist with 2 questions....

 

  1. We have dual formatting in a single measure column (% and Integer) that we would like to utilize in a graph, is there a way to show a percent and integer depending on the single measure selected? Is there a way to do this in DAX?

  2. Is there a way to calculate the variance between 2 measure that will show the difference  between two item in a single table – dynamically (instead of showing the sum we need to show the variance) based on a single measure column….

 

Appreciate your support....

 

Regards

Chris

3 REPLIES 3
Eric_Zhang
Microsoft Employee
Microsoft Employee

@Pilot

 

 

For the first question, can you try to use an IF? Some expression like

IF(yourMeasure>1,yourMeasure,CONCATENATE(yourMeasure,"%"))


Regarding the second question, it is not quite clear for me, can you be more specific? Better with sample data and expected output. Thanks.

@Eric_Zhang

 

Thanks for the response, as for the second questions

 

We have two measures that we wanted to use but they are both on a single measure column and wanted to calculate and show the variance between the two measures. If this makes sense?

 

Thanks

Pilot

Baskar
Resident Rockstar
Resident Rockstar

Hi Pilot

 

1. If(Yourmeasure=your condition,Yourmeasure,YourMeasure & "@" , & " %" ) -- Whatever and howmuch  you want add

2. It's make sense . Use like Table1[Measure] + Table2[Measure],
If u dont want in DAX, U can go with data modelling. Eg. Merge Two table .

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors