Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 19 | |
| 13 | |
| 10 |