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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.