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
romas876
Regular Visitor

Calculate returns blank for some subcategory

Hi All,

 

I am having an issue with my calculate formula and hope you can help.

 

The formula returns blank for some subcategories and works fine for others.  The category totals are fine, however, some subcategories are blank. Also I have noticed this when I try to calculate monthly totals for a prior year.

 

See below screenshot

 

romas876_1-1659631247435.png

 

 

The calculate formula 

 

CALCULATE([Total Cases], FILTER(ALL('Date Table'), YEAR('Date Table'[Date]) = CompareYear && MONTH('Date Table'[Date]) = CurrentMonth && 'Date Table'[Date] <= WKDAY))

 

Where CompareYear is the selected benchmark year users select, and

WKDAY is the comparative workday in the selected year

 

 

Thank you

1 REPLY 1
daXtreme
Solution Sage
Solution Sage

Not enough info to troubleshoot.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.