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
KaylaJV
New Member

Total not what I need it to be

Hi All, 

 

I have a very complicated dashboard I have taken over from someone and I am still new to PowerBI 

 

The total below should show $49,197,123.91 which the rows equal to. How can I change it so this happens. 

 

KaylaJV_2-1657517840750.png

 

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

Hi @KaylaJV ,

 

Create another measure like below and use it in visual instead.

measure =
IF (
    ISINSCOPE ( Table[No & Name] ),
    [actual],
    SUMX ( VALUES ( Table[No & Name] ), [actual] )
)

 

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

4 REPLIES 4
v-jayw-msft
Community Support
Community Support

Hi @KaylaJV ,

 

Create another measure like below and use it in visual instead.

measure =
IF (
    ISINSCOPE ( Table[No & Name] ),
    [actual],
    SUMX ( VALUES ( Table[No & Name] ), [actual] )
)

 

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

@KaylaJV ,Change Return

 

Return

Sumx(Values(Table[No & Name]),z)

 

Also, check

https://www.youtube.com/watch?v=ufHOOLdi_jk

Doesnt seem to work. 

KaylaJV_0-1657522408632.png

 

@KaylaJV , All you column used in matrix

 

Sumx(Summarize(Table[No & Name], Table[Col1], Table[Col2]),Calculate(z) )

 

 

Sumx(Addcolumns(Summarize(Table[No & Name], Table[Col1], Table[Col2]), "_1",Calculate(z) ), [_1])

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.

Top Solution Authors