cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Route217 Member
Member

No Filters selected, show default value as 100%

Hi Experts

 

I have the following filters in my report/dashboard

1. ID

2. Country

3. Region

4. File

if no filter is selected and they are showing ALL, i want the default value, to be 100% otherwise when filter is applied measure A.

 

1 ACCEPTED SOLUTION

Accepted Solutions
lc_finance Member
Member

Re: No Filters selected, show default value as 100%

Hi @Route217 ,

 

You can try the measure below, it should work!

 

Measure = 
VAR check1 = OR(ISFILTERED(table[ID]),ISFILTERED(table[Country]))
VAR check2 = OR(ISFILTERED(table[Region]),ISFILTERED(table[File]))
VAR totalCheck = OR(check1, check2)

RETURN
IF(totalCheck, [Measure A], 100%)

Regards,

 

LC

Interested in Power BI finance templates? Check out my blog at www.finance-bi.com

View solution in original post

3 REPLIES 3
lc_finance Member
Member

Re: No Filters selected, show default value as 100%

Hi @Route217 ,

 

You can try the measure below, it should work!

 

Measure = 
VAR check1 = OR(ISFILTERED(table[ID]),ISFILTERED(table[Country]))
VAR check2 = OR(ISFILTERED(table[Region]),ISFILTERED(table[File]))
VAR totalCheck = OR(check1, check2)

RETURN
IF(totalCheck, [Measure A], 100%)

Regards,

 

LC

Interested in Power BI finance templates? Check out my blog at www.finance-bi.com

View solution in original post

kamalmsharma Regular Visitor
Regular Visitor

Re: No Filters selected, show default value as 100%

Hi,

 

Can you pls share screenshot or PBI file to visualize the scenario?

 

Regards,

Kamal

www.addendanalytics.com

 

Route217 Member
Member

Re: No Filters selected, show default value as 100%

Many Thanks LC

 

works prefect, slight tweak. 

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 433 members 3,845 guests
Please welcome our newest community members: