March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |