cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
OKgo90210
New Member

Summarize a dax column in row context within a matrix visual

Using measures in row context has been challenging for me. So I gave up and created a DAX Column:

 

 

FY $ to date = calculate(sum(Invoiced[USD]),
USERELATIONSHIP(
Projects[ID],
Invoiced[USD]))

 

 

 

Within the Matrix visual on the second drill down it returns 5 rows representing 5 projects IDs.

{283E6941-2E85-471D-9AF6-802B3912740D}.png.jpg

 

 

 

 

 

Is there a way to summarize these 5 lines to one in row context within the matrix visual?

Unfortuneately I need to keep project granularity for relationships and user slicers which is why I am stuck.

 

Thank you for reading

2 REPLIES 2
Greg_Deckler
Super User
Super User

@OKgo90210 Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

I will try redo this completely when time allows. Thank you for the feedback

Helpful resources

Announcements
Winner of T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Find out who won the T-Shirt Design Challenge and the top 3 finalists.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.