Hi guys,
I have a scenarioa. I have 2 tables Articles in one table & forecast , actual in another table (total 2 tables). I want to show the data by aricle level.
I want output is 30 as like above yellow marked .
I wrote the below measure but I got 80 is the ouput
=SUMX(VALUES(Article[Article]) ,CALCULATE(ABS(sum(Forecast)-sum(Actual))).
any one help me ? How do i write a measure to get the ouput is 30 ?
Thanks in advance.
Solved! Go to Solution.
Hi @Srikantht
Break up the measure into two measures. This will make it work.
ABS = ABS(SUM(Forecasts[Forecast]) - SUM(Actuals[Actual]))
ABS Diff = SUMX(VALUES(Articles[Article]),[ABS])
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Hi @Srikantht
Break up the measure into two measures. This will make it work.
ABS = ABS(SUM(Forecasts[Forecast]) - SUM(Actuals[Actual]))
ABS Diff = SUMX(VALUES(Articles[Article]),[ABS])
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Any one Help me to write a measure.
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
User | Count |
---|---|
240 | |
56 | |
49 | |
45 | |
44 |
User | Count |
---|---|
282 | |
211 | |
82 | |
76 | |
75 |