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
Tu-VuongLe
New Member

How to remove Earliest Date in total row?

Hey everyone, 

 

I'm new to PowerBI and I'm trying only show what is necessary in the total row.

I created a pivot table (Matrix visual) and put the document date, quantity, and score in values.

In the total row, I only want it to show sum of quantity and sum of score, but the date always gives Earliest_Document_Date. There's only one date per document, so it doesn't matter if I use earliest or latest for the data points, but I want to remove it in the total row.

 

Any help would be appreciated.

 

Thank you

TuVuongLe_0-1666967748139.png

 

1 ACCEPTED SOLUTION
AbbasG
Memorable Member
Memorable Member

@Tu-VuongLe Hi, you can create a measure for this (by using hasnovalue function). And then use the measure instead of the actual date.

 

AbbasG_0-1666974529379.png

 

 

Here is the sample file of my solution. Hope it helps you to achieve the desired output.

 

 

View solution in original post

5 REPLIES 5
AbbasG
Memorable Member
Memorable Member

@Tu-VuongLe Hi, you can create a measure for this (by using hasnovalue function). And then use the measure instead of the actual date.

 

AbbasG_0-1666974529379.png

 

 

Here is the sample file of my solution. Hope it helps you to achieve the desired output.

 

 

Hi, 
I would like some help with this as well. I have a matrix with 3 different rows, which holds a lot of different dates. So I understand that it needs to be for example "earliest" in the subtotal rows but when i + it up I would like to see the unique values for each row, which I don't seem to get. Do you have another way to solve this? I tried your measure and it did not work.

 

Thank you in advance!

Actually, there's a problem with this solution. It now shows every item data, regardless if it's in the order or not.

This is how it used to be:

TuVuongLe_0-1666979395224.png

 

With your solutions, it gives me this:

TuVuongLe_1-1666979518497.png

 

TuVuongLe_2-1666979540846.png

 

Hi you can just put a visual level filter on sum of quantity is not blank.

Oh you're right! I hadn't thought about that.. Thank you

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

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.