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
andyly85
Frequent Visitor

If statement in DAX-how to implement for measures %, and the output as a quarter end date.

Hi team, I am trying to implement a new measure which outputs the quarter end date if a measure is >25%, else blank  So far I have coded in DAX:  But having no success so far...

 

>25% = IF('Rank'[Largest Client %] > 25%, "December 22")
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @andyly85 ,

You just need do a simple modification, change 25% to 0.25, please try below dax formula:

>25% = IF([Column1]>0.25,"December22")

vbinbinyumsft_0-1674625578359.png

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @andyly85 ,

You just need do a simple modification, change 25% to 0.25, please try below dax formula:

>25% = IF([Column1]>0.25,"December22")

vbinbinyumsft_0-1674625578359.png

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

This works now, thanks!

amitchandak
Super User
Super User

@andyly85 , Assume you need qtr for today of selected date

 

Qtr =
var _today = if(isfiltered('Date'),MAX( 'Date'[Date]) , today())
var _max = eomonth(_today, if( mod(Month(_today),3) =0,0,3-mod(Month(_today),3)))

return

IF('Rank'[Largest Client %] > 25%, _max )

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi!  This has come up as an error..

 

The following syntax error occurred during parsing: Invalid token, Line 7, Offset 33, %.

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.