Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi,
I have a report where I filter for a month all the financial info for example may comparing it with the previous year.
I want to make a bridge graphic between current year and the previous one. I got it.
My problem is that i want to compare in the middle of both orange columns with the situation of december 2019 but as I have filtered the table with march I can not. I would need to add to the context the month of december as well as the one filtered with the slicer.
Any ideas? I guess there is a simple way but I dont find it.
Thanks!
Solved! Go to Solution.
Hi @Danielktn ,
Please check:
1. Enter data.
DataTypeWithDIC:
2. Sort column.
3. Create a measure.
Measure =
SWITCH (
MAX ( DataTypeWithDIC[Data Type With DIC] ),
"R19", CALCULATE ( SUM ( Tabla1[k€] ), Tabla1[Data Type] = "R19" ),
"R20", CALCULATE ( SUM ( Tabla1[k€] ), Tabla1[Data Type] = "R20" ),
"DIC19", CALCULATE (
SUM ( Tabla1[k€] ),
FILTER (
ALLEXCEPT ( Tabla1, Tabla1[Concepto] ),
Tabla1[Data Type with dec] = "DIC19"
)
)
)
4. Create visual.
5. Test.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Danielktn ,
Please check:
1. Enter data.
DataTypeWithDIC:
2. Sort column.
3. Create a measure.
Measure =
SWITCH (
MAX ( DataTypeWithDIC[Data Type With DIC] ),
"R19", CALCULATE ( SUM ( Tabla1[k€] ), Tabla1[Data Type] = "R19" ),
"R20", CALCULATE ( SUM ( Tabla1[k€] ), Tabla1[Data Type] = "R20" ),
"DIC19", CALCULATE (
SUM ( Tabla1[k€] ),
FILTER (
ALLEXCEPT ( Tabla1, Tabla1[Concepto] ),
Tabla1[Data Type with dec] = "DIC19"
)
)
)
4. Create visual.
5. Test.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks it works perfect!
Hi @Danielktn ,
Please share me a dummy PBIX file, removing sensitive information, for test. And show me the expected results.
Best Regards,
Icey
User | Count |
---|---|
123 | |
69 | |
67 | |
58 | |
52 |
User | Count |
---|---|
183 | |
92 | |
67 | |
62 | |
52 |