Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 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.
my data is like following , How can i made comparision of Acutla and Plan [with selected version]
Account Type | Version | Value type | Acutal Amount | Plan Amount | Data |
Revenue | 1 | Actual | 1000 | 01/07/2023 | |
Revenue | AB1 | Plan | 5000 | 01/07/2023 | |
Revenue | LF1 | Plan | 4000 | 01/07/2023 | |
Revenue | LF2 | Plan | 3500 | 01/07/2023 | |
Revenue | LF3 | Plan | 3200 | 01/07/2023 |
Solved! Go to Solution.
It is working now, as we create the slicer from the data table instead of Version table.
Hi @rahmad ,
I tried the formula you provided and ACTUAL doesn't go away with slicer.
plan_ =
CALCULATE (
SUM ( 'Table'[Plan Amount] ),
FILTER ( 'Table', 'Table'[Value type] = "Plan" )
)
actual_ =
CALCULATE (
SUM ( 'Table'[Acutal Amount] ),
'Table'[Version] = "1"
&& 'Table'[Value type] = "Actual"
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
It is not working at my end. as i select the plan version , the actual amounts disappeared.
Following are the screen shots. The first image showing both Actual and Plan columns without any selection of version.
and other image showing only plan version when i select plan version LF1.
It is working now, as we create the slicer from the data table instead of Version table.
I created two mearures Actual and Plan as follows
@rahmad , Create measures like
Calculate(SUm(Table[Acutal Amount]), Table[Value type] ="Actual" && [Version] ="1" ) -Calculate(SUm(Table[Plan Amount]), filter(Table, Table[Value type] ="Budget"))
Create Version slicer and use that. Rest all filters should apply
it is not working
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
83 | |
79 | |
52 | |
39 | |
35 |
User | Count |
---|---|
92 | |
79 | |
51 | |
48 | |
45 |