Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
25 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
25 | |
12 | |
11 | |
10 | |
6 |