The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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?
Solved! Go to Solution.
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
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
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
12 | |
10 | |
10 | |
9 |