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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.