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

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

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors