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
ashwinijain932
Frequent Visitor

Table Visual total problem

Hi,

In my table visual, some of the columns (as circled) are showing the total in the total section but others are showing the last month's value. I am not able to understand this. Can someone please explain it? Also, if I need to show only the last month's value of circled columns (Profit Goal etc.), then how do I show it in totals?

ashwinijain932_0-1664310477094.png

 

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

Hi @ashwinijain932 ,

 

The total in visual is not simply the sum of rows, it is also a calculated value that is affected by the formula.

You could use isinscope() function.

 

new measure = IF(ISINSCOPE([Month]),[Measure],SUMX(ALLSELECTED(table),[Measure]))

 

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

2 REPLIES 2
v-jayw-msft
Community Support
Community Support

Hi @ashwinijain932 ,

 

The total in visual is not simply the sum of rows, it is also a calculated value that is affected by the formula.

You could use isinscope() function.

 

new measure = IF(ISINSCOPE([Month]),[Measure],SUMX(ALLSELECTED(table),[Measure]))

 

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
amitchandak
Super User
Super User

@ashwinijain932 , you need for force sum from line level

 

Sumx(Values(Date[Month]), [Your Measure])

 

refer why my grand total is wrong - https://www.youtube.com/watch?v=ufHOOLdi_jk

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.