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
Praveen0303
New Member

Dax

Based on the quater selection dynamically comments also need to change,if select all quater it's shows Quater 3 comments how to write Dax condition 

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @Praveen0303 ,

 

try to plot a visual with a measure like this:

 

Measure = 
IF(
    COUNTROWS(VALUES(data[Qtr]))=COUNTROWS(ALL(data[Qtr])),
    MAXX(FILTER(data, data[Qtr]="Q3"), data[Comments]),
    MAX(data[Comments])
)

 

 

it worked like:

FreemanZ_0-1729672973272.png

 

View solution in original post

1 REPLY 1
FreemanZ
Super User
Super User

hi @Praveen0303 ,

 

try to plot a visual with a measure like this:

 

Measure = 
IF(
    COUNTROWS(VALUES(data[Qtr]))=COUNTROWS(ALL(data[Qtr])),
    MAXX(FILTER(data, data[Qtr]="Q3"), data[Comments]),
    MAX(data[Comments])
)

 

 

it worked like:

FreemanZ_0-1729672973272.png

 

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!

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.