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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
AlanP514
Post Patron
Post Patron

Dynamic static value

Hai guys need your help 

 

 I have challenge in dax could you please help  regarding this. Scenario is
If nothing selected from slicer or filter visual the card or the chart should give a static value 195 ,If user select any particular year or any filter they want to see the actual target value (actual data) for that particular area . ie if nothing selected static value. if they select slicer they want to see actual value in kpi card .could you please help me with this

1 ACCEPTED SOLUTION
serpiva64
Solution Sage
Solution Sage

Hi, you can try a measure like this

Measure = if (calculate(not IScrossFILTERED(factSales)),195,sum(factSales[ReturnAmount]))
It functions with direct and undirect filtering

If this post is useful to help you to solve your issue consider giving the post a thumbs up 

 and accepting it as a solution !

View solution in original post

2 REPLIES 2
serpiva64
Solution Sage
Solution Sage

Hi, you can try a measure like this

Measure = if (calculate(not IScrossFILTERED(factSales)),195,sum(factSales[ReturnAmount]))
It functions with direct and undirect filtering

If this post is useful to help you to solve your issue consider giving the post a thumbs up 

 and accepting it as a solution !

Thank you for your solution its working

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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