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.
Dear All,
Hi @infantpowerbi ,
For your requirement, please try this measure below.
All = CALCULATE ( SUM ( 'Table2'[Value] ), FILTER ( ALL ( Table2[District] ), 'Table2'[District] = "ALL" ) )
Here is the ouptut.
More details, please refer to the attachment.
Best Regards,
Cherry
Tq very much you are my galidator ,
I lost hope on this
Hello,
In my case it'snot working ,
Requeest you to please kindly please review my pbix file and please let me know what's the issue
and where I am missing to get the things done
http://www.mediafire.com/folder/ifj41f0t3w30g/2_lines_in_Line_charts
Hi @infantpowerbi ,
From your sample, I found that your error is casued by the dax highlighed below.
All = CALCULATE ( SUM ( 'Ratifications_Table'[District Short] ), FILTER ( ALL ( Ratifications_Table[District Short] ), 'Ratifications_Table'[District Short] = "ALL" ) )
As your Ratifications_Table[District Short] column is a string type, so it cannot be usefd with sum function so you will have error message.
I'm afraid that you should create the measure like below.
All_ = CALCULATE ( SUM ( 'Ratifications_Table'[Value] ), FILTER ( ALLSELECTED ( Ratifications_Table ), 'Ratifications_Table'[District Short] = "ALL Districts" ) )
Best Regards,
Cherry
Does Sum can be only applied for decimal numbers ?
Because I a trying to make it for % columns ,But finding no luck.Kindly please look into % column "AppSubmission"