Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Buenas tardes comunidad!
Quisiera saber si es posible realizar este tipo de grafico:
Tengo todos los valores en medidas calculadas (son 12 medidas) pero necesito agruparlas de esta forma. Se puede? o debo generar 3 graficos distintos?
MENSUAL:
Gracias!
Solved! Go to Solution.
Hi @wpretz ,
You can use Enter data to create a left join of two tables and then use the Switch() function to customize it.
Here are the steps you can follow:
1. Use Enter data.
2. Create calculated table.
All =
CROSSJOIN('Group_Table1','Group_Table2')
3. Create measure.
Test =
SWITCH(
TRUE(),
MAX('All'[X_Group1])="VAR IACION MENSUAL"&&MAX('All'[X_Group2])="ICWH",[Measure1],
MAX('All'[X_Group1])="VAR IACION MENSUAL"&&MAX('All'[X_Group2])="CEDOL S/transp",[Measure2],
MAX('All'[X_Group1])="ACUMULADO 2024"&&MAX('All'[X_Group2])="ICWH",[Measure3],
MAX('All'[X_Group1])="ACUMULADO 2024"&&MAX('All'[X_Group2])="CEDOL S/transp",[Measure4],
MAX('All'[X_Group1])="INTERANUAL"&&MAX('All'[X_Group2])="ICWH",[Measure5],
MAX('All'[X_Group1])="INTERANUAL"&&MAX('All'[X_Group2])="CEDOL S/transp",[Measure6])
4. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @wpretz ,
You can use Enter data to create a left join of two tables and then use the Switch() function to customize it.
Here are the steps you can follow:
1. Use Enter data.
2. Create calculated table.
All =
CROSSJOIN('Group_Table1','Group_Table2')
3. Create measure.
Test =
SWITCH(
TRUE(),
MAX('All'[X_Group1])="VAR IACION MENSUAL"&&MAX('All'[X_Group2])="ICWH",[Measure1],
MAX('All'[X_Group1])="VAR IACION MENSUAL"&&MAX('All'[X_Group2])="CEDOL S/transp",[Measure2],
MAX('All'[X_Group1])="ACUMULADO 2024"&&MAX('All'[X_Group2])="ICWH",[Measure3],
MAX('All'[X_Group1])="ACUMULADO 2024"&&MAX('All'[X_Group2])="CEDOL S/transp",[Measure4],
MAX('All'[X_Group1])="INTERANUAL"&&MAX('All'[X_Group2])="ICWH",[Measure5],
MAX('All'[X_Group1])="INTERANUAL"&&MAX('All'[X_Group2])="CEDOL S/transp",[Measure6])
4. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Genio! Gracias!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
146 | |
87 | |
66 | |
52 | |
46 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |