Forum Discussion
Anonymous
6 years agoNot applicable
row value to column value and find difference
Hi Team, I have a input data like below Col1 Col2 Col3 A Wk 1 10 B WK 2 5 C WK 3 20 B WK 4 10 A WK 5 5 D ...
- 6 years ago
Hi Anonymous
Create a measure
Measure = IF ( ISINSCOPE ( 'Table 3'[ Col2 ] ), SUM ( 'Table 3'[ Col3] ), CALCULATE ( SUM ( 'Table 3'[ Col3] ), FILTER ( 'Table 3', 'Table 3'[ Col2 ] = "WK5" ) ) - CALCULATE ( SUM ( 'Table 3'[ Col3] ), FILTER ( 'Table 3', 'Table 3'[ Col2 ] = "WK4" ) ) )
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
6 years agoSuper User
Anonymous , if you looking for Week on Column and Diff only on Grand total That is not possible. I logged a idea for that, vote for that.
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/39773011-hybrid-table
Please check for WOW - https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-Last-Week/ba-p/1051123
- Anonymous6 years agoNot applicable
is there any other workarround to acheive this