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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Group by another field not in the matrix

Hello Power BI Community

 

Please help with this development task.

 

I am trying to acheive the Total Out column by using the Hidden Field to group the numbers of the seperate results in the Detail coumn, that I am not wanting to include in the matrix in blue.

 

Once making the Total Out column, I can then made the graph on the right. The graph shows each Business Area but the figures from Total Out.

 

The issue is that I need to clever DAX to avoid having to include the Hidden Field in the marix that would also help me create the graph without using Hidden Field.

 

August Data.PNG

 

The data is held within the Excel file in the DataRequests tab and the Detail and Total Out is the sum of the No. Data Requests column therein.

Excel File

 

 

6 REPLIES 6
v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

You may refer to the measure below.

Measure =
VAR g =
    SELECTEDVALUE ( Table1[Hidden Field] )
RETURN
    CALCULATE (
        SUM ( Table1[Detail] ),
        Table1[Hidden Field] = g,
        ALLSELECTED ( Table1[Busines Area] )
    )
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi Sam
Thanks for the response, Unfortunately didn’t work. I did however manage to get it working using a Summarize table then joined the table to the main query to get the desired result.
Regards

@Anonymous,

 

It seems to work for me.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi Sam

 

I tried what you suggested again and I got the screenshot below and suffering from missing values.

 

capture

 

Have you got your pbix ?

 

Thanks

Jude

@Anonymous,

 

Yes, check if the values in [Hidden Field] match exactly.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi Sam

 

Did you attach something that I missed ?

 

You mentioned Yes but I didnt see anything attached.

 

Sorry if I missed it.

 

Jude

Helpful resources

Announcements
ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.