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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
MYue
New Member

How to prevent matrix summarize certain fields

I structured a matrix using some dummy data:

MYue_0-1707864253317.png

and this is how it look like when I put them in a matrix.

MYue_0-1707863265507.png

In this sample, there are 2 positions that have different unique position ID that issued by same issuer.  So I put Issuer and Position ID into "rows" and various "commitments", "maturity" into "Values".  Everything went well here.

 

When I click the minus sign on the left, it fold and display the following:

MYue_2-1707863632667.png

 

I like this feature, however, Is there a way to not summarized the field and let it be empty(blank)?

For example, the summation of commitments are reasonable, but for Maturity, it only allow me to select between earlist, latest, count, count(distinct).   None of it really make sense in this scenario, is there a way to leave it empty?

 

MYue_3-1707863802556.png

 

Thank you!

 

 

 

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

Hi @MYue ,

 

You might consider using a measure instead.

Here are the steps you can follow:

1. Create measure.

Measure =
IF(
    HASONEVALUE('Table'[Position ldentifier]),MAX('Table'[Maturity]),
    IF(
        HASONEVALUE('Table'[Security Name]),BLANK()))
Measure2 =
CONVERT([Measure], DATETIME)

2. Result:

vyangliumsft_0-1707902634406.png

vyangliumsft_1-1707902634408.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

2 REPLIES 2
v-yangliu-msft
Community Support
Community Support

Hi @MYue ,

 

You might consider using a measure instead.

Here are the steps you can follow:

1. Create measure.

Measure =
IF(
    HASONEVALUE('Table'[Position ldentifier]),MAX('Table'[Maturity]),
    IF(
        HASONEVALUE('Table'[Security Name]),BLANK()))
Measure2 =
CONVERT([Measure], DATETIME)

2. Result:

vyangliumsft_0-1707902634406.png

vyangliumsft_1-1707902634408.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

danextian
Super User
Super User

Hi @MYue ,

 

Anything you put in matrix values tile will be summarized as it is meant to aggregate the cross section of rows and columns. If you don't want it summarized, please put the field in either row or column tiles or use a table instead.










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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