Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
ajin
Helper II
Helper II

showing summarised value which can be dynamic

 

Hi guys, new in pbi, hence needed your help. How do i show a column sum throughout all rows such as the value in static r. Currently i hard coded it as a static value ( static r = 352493410) but as the  data refresh's i want to show it change dynamically (since the total can change) while remaining as a static total through out the  rows in the column.

 

 

 

static revenue.PNG

 

 

 

 

1 ACCEPTED SOLUTION
Stachu
Community Champion
Community Champion

then it's even simpler

Static r = CALCULATE([80% of revenue],ALLSELECTED(TableName))


Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

View solution in original post

4 REPLIES 4
Stachu
Community Champion
Community Champion

you need to replace red syntax with whatever is relevant for you

Static r = CALCULATE(SUM(TableName[ColumnName]),ALLSELECTED(TableName))


Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Static r = CALCULATE(SUM(TableName[ColumnName]),ALLSELECTED(TableName))



this works but in my case i am using a measure (80% of revenue) hence any alternative ?
Stachu
Community Champion
Community Champion

then it's even simpler

Static r = CALCULATE([80% of revenue],ALLSELECTED(TableName))


Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

It worked. Thanks 🙂 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.