cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
u986483 Regular Visitor
Regular Visitor

Slicer based on IF function

Hi,

I am new to Power BI world. I want to make a measure that will filter as following:

 

FO                      FP

Indonesia           Indonesia

India                   Indonesia

Indonesia           Thailand

Vietnam              Indonesia

Indonesia           India

 

I want create a measure that will retain row 1,3,5 when I select "Indonesia", other rows will not be visible. I want to create a measure using filter but not sure about the syntax.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Thim Member
Member

Re: Slicer based on IF function

So just to be clear.

 

What you want is a slicer, that shows the lines from FP that has Indonesia?

 

If this is true, then you don't need to make a meassure, you can just put the FP column in a Slicer.Filter.PNG

 

If you ONLY want the option to filter Indonesia you can change what options the slicer has under filter.

 

 

Hope this was what you were looking for. 🙂

View solution in original post

1 REPLY 1
Highlighted
Thim Member
Member

Re: Slicer based on IF function

So just to be clear.

 

What you want is a slicer, that shows the lines from FP that has Indonesia?

 

If this is true, then you don't need to make a meassure, you can just put the FP column in a Slicer.Filter.PNG

 

If you ONLY want the option to filter Indonesia you can change what options the slicer has under filter.

 

 

Hope this was what you were looking for. 🙂

View solution in original post

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)