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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
user83
Helper II
Helper II

show 'blank' instead of taking the smallest value by default

hello,

Any idea of this is appreciate ;

Situation :  if I don't select in card visualization any of the following fields (example Q1,Q2,Q3,...)  PBI shows me by default Q1 , how to make it not display anything instead

 

Thank you 🙂

user83

1 ACCEPTED SOLUTION
v-deddai1-msft
Community Support
Community Support

Hi @user83 ,

 

Do you have any slicer for the filed(Q1,Q2,Q3,Q4)? You can use the measure like:

 

Measure =  IF(ISFILTERED('Table'[Qtr]),CALCULATE(…),BLANK())

 

Best Regards,

Dedmon Dai

View solution in original post

2 REPLIES 2
v-deddai1-msft
Community Support
Community Support

Hi @user83 ,

 

Do you have any slicer for the filed(Q1,Q2,Q3,Q4)? You can use the measure like:

 

Measure =  IF(ISFILTERED('Table'[Qtr]),CALCULATE(…),BLANK())

 

Best Regards,

Dedmon Dai

amitchandak
Super User
Super User

@user83 , How is your date table structured, it depends on that

something like this

 

Measure =

var _qtr =if(isfiltered(Date[Qtr]),maxx(allselected(Date),Date[Qtr]), maxx(filter(Date,Date[Year] =year(Today())),Date[Qtr]))

return

calculate(.....)

 

refer: https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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