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
giuliapiazza94
Helper IV
Helper IV

measure as a filter

Hi guys,

I don't know if I can do with PBI. I've 3 measures: sales €, sales $ and sales £ and I have a matrix.

I'd like to have a filter that I can select and I can see in the matrix sales € or sales $ or sales £.

 

can I do this with PBI?

1 ACCEPTED SOLUTION
Tanushree_Kapse
Impactful Individual
Impactful Individual

Hi @giuliapiazza94 ,

 

Yes you can do this using Dynamic measures.
Follow the below steps:
1. Make a new table using Enter Data, with a column

Type
sales €
sales $ 
sales £

 

2. Then create a dynamci measure:
selectedmeasure= IF(CONTAINS(Table2[Type]) ="sales €" , [sales €], IF(CONTAINS(Table2[Type]) ="sales $ " , [sales $], IF(CONTAINS(Table2[Type]) ="sales £ " , [sales £])))

3. Select a slicer and pull the column Type in it.

4. Pull the new dynamic measure in your Matrix.
5. The data in the matrix would change according to the selections in slicer.

 

Mark this a solution, if I answered your question. Kudos are always appreciated.

Thanks

View solution in original post

1 REPLY 1
Tanushree_Kapse
Impactful Individual
Impactful Individual

Hi @giuliapiazza94 ,

 

Yes you can do this using Dynamic measures.
Follow the below steps:
1. Make a new table using Enter Data, with a column

Type
sales €
sales $ 
sales £

 

2. Then create a dynamci measure:
selectedmeasure= IF(CONTAINS(Table2[Type]) ="sales €" , [sales €], IF(CONTAINS(Table2[Type]) ="sales $ " , [sales $], IF(CONTAINS(Table2[Type]) ="sales £ " , [sales £])))

3. Select a slicer and pull the column Type in it.

4. Pull the new dynamic measure in your Matrix.
5. The data in the matrix would change according to the selections in slicer.

 

Mark this a solution, if I answered your question. Kudos are always appreciated.

Thanks

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.

Top Solution Authors