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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
1001
Resolver II
Resolver II

If statement for a percent value

Hi All, I have a calculated column (see below) to calculate a percent from two numbers of other columns.

Now I'd like to create another column to display if the percent is greater than 70%. Just not sure how to write the DAX for it, if someone could help. Thanks. 

 

1001_0-1674305563904.png

Greater 70% = if('ZSLED Excel'[Percent Remaining]>70%,'ZSLED Excel'[Percent Remaining],0)

 

1 ACCEPTED SOLUTION
Migasuke
Memorable Member
Memorable Member

Hi,

In your DAX calculation do not use % sign, only use decimal version. Instead of 20% use 0.2 etc.
Example here:

Migasuke_0-1674306261679.png

 



If my answer was helpful please give me a Kudos or even accept as a Solution.

Let's connect on LinkedIn!

View solution in original post

2 REPLIES 2
Migasuke
Memorable Member
Memorable Member

Hi,

In your DAX calculation do not use % sign, only use decimal version. Instead of 20% use 0.2 etc.
Example here:

Migasuke_0-1674306261679.png

 



If my answer was helpful please give me a Kudos or even accept as a Solution.

Let's connect on LinkedIn!

Ahh, I had .7 rather 0.7 earlier. 

Thanks Migasuke, appreciate that. Cheers.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.