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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.