The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi
How to convert measure to calculated column . I need Calculated column sum.
Appreciate your reply. Thanks
/Henrik
Solved! Go to Solution.
Hi @Henrik_99 ,
Try these:
=
CALCULATE ( SUM ( 'Table'[Planned] ), ALLEXCEPT ( 'Table', 'Table'[R53] ) )
=
CALCULATE (
SUM ( 'Table'[Planned] ),
FILTER ( ALL ( 'Table' ), 'Table'[R53] = EARLIER ( 'Table'[R53] ) )
)
Hi,
thanks I got what I need. Thank you.
Regards Henrik
Hi,
sorry this gives the same results as Subtot.
I want R53_total as calculated columns e.g. total of subcategory.
Thanks.
Rgds
Henrik
Hi @Henrik_99 ,
Try these:
=
CALCULATE ( SUM ( 'Table'[Planned] ), ALLEXCEPT ( 'Table', 'Table'[R53] ) )
=
CALCULATE (
SUM ( 'Table'[Planned] ),
FILTER ( ALL ( 'Table' ), 'Table'[R53] = EARLIER ( 'Table'[R53] ) )
)