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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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