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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Commons94
Frequent Visitor

Grand total of measure is blank

Hello community,

 

I tried to write a measure to get the BTE1 column as my result. The problem is that I'm not getting the total for this column. the total is always a blank. I tried using this measure on a card or graph, everything seems to be blank but yet there are values in this measure when used in a table. The sample data is given in the table below:

 

My measure is: 

BTE Menge1 =
var last_Call = MAX('Data'[Call])
var Receipt= MAX('Quantity'[Receipt Nr.])
var Date= MAX('Quantity'[Date])
 
Return
CALCULATE(SUM('Data'[qty]),'Data'[Receipt Nr.]=Receipt,'Data'[Date] IN {Date-1, Date, Date+1}, 'Data'[Call]=last_Call)
 
Recipt Nr.DateWEBTE1
ABCD_1020/04/2022170170
EFGH_1015/07/20226666
IJKL_1028/07/2022300300
LMNO_1031/10/2022100100
PQRS_1031/10/2022880880
TUVW_1004/08/2022154154
XYZA_1011/11/202230003000
BCDE_1010/03/202316501650
Total 

6320

 

 

As info: the 2 tables are connected with a master data with receipt Nr. as key.

 

can you guys please help me out and provide a solution as how to I can make the total on the BTE1 column visible? thanks a lot in advance!

1 REPLY 1
lbendlin
Super User
Super User

Remember that for the Grand Total "MAX"  has a different meaning. You likely need to use MAXX  instead, or whatever is appropriate for your scenario

 

Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.