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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Need help on this DAX if condition

Hi,

How to convert this into DAX   

 

if([Type]='S', [Noti number])   ?

2 ACCEPTED SOLUTIONS
Icey
Community Support
Community Support

Hi @Anonymous ,

 

For columns, try this :

Measure =
IF ( MAX ( 'Table'[Type] ) = "S", MAX ( 'Table'[Noti number] ) )
Column =
IF ( 'Table'[Type] = "S", 'Table'[Noti number] )

 

Best regards

Icey

 

If this post helps, then consider Accepting it as the solution to help other members find it faster.

View solution in original post

ziyabikram96
Helper V
Helper V

IF ( SELECTEDVALUE([Type]) == "S", MAX OR MIN([Noti number]),blank()). 

View solution in original post

4 REPLIES 4
ziyabikram96
Helper V
Helper V

IF ( SELECTEDVALUE([Type]) == "S", MAX OR MIN([Noti number]),blank()). 

amitchandak
Super User
Super User

@Anonymous , Try like

if([Type]="S", [Noti number], blank())

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
Anonymous
Not applicable

Hi,

Only the existing measure values are listing out while writing DAX, the column "Type" is not listed.  

MuraliPrasathS_0-1610465066955.png

 

Icey
Community Support
Community Support

Hi @Anonymous ,

 

For columns, try this :

Measure =
IF ( MAX ( 'Table'[Type] ) = "S", MAX ( 'Table'[Noti number] ) )
Column =
IF ( 'Table'[Type] = "S", 'Table'[Noti number] )

 

Best regards

Icey

 

If this post helps, then consider Accepting it as the solution to help other members find it faster.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.