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.
I want to try this but it doesnt work, I would like if I select "Pax" I want to show in a bar chart two measures "Consulta $" and "Consulta Pax".
If I separate the condition into two parts, it only reads me the first, some idea or solution to what I want to achieve
Thank you
Hi @MCF ,
Could you please provide the formula of measures [Consulta $] and [Consulta Pax]? What's the data type of their return values? What's your final expected result? Please provide the backend logic and special example to describe it. Thank you.
Bset Regards
Hi,
I am pretty sure what you are trying to achieve isn't possible with a single measure. However, I think we can use two measures to achieve what you are trying to do.
Two switch measures:
You can create two measures one of which is your main switch measure and contains all of your options and the second is only used for "Pax" selection and otherwise returns blank.
I hope this can be used to solve your issue and if it does consider accepting this as a solution!
Proud to be a Super User!
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
13 | |
11 | |
9 | |
6 |