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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
mcrowder
New Member

Measure total is blank when using HASONEFILTER

When using the measure below, the total of my column shows blank (i'm trying to total only visible values in a column).

mcrowder_0-1695905425045.png

 

3 REPLIES 3
amitchandak
Super User
Super User

@mcrowder , Move Sumx(Values('Calendar(2)'[MonthYear] ) before hasonefilter or add it again

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Amitchandak - thank you for your response.  I ended up with additional months that I didn't need, so I tried to simplify my logic.  Now my measure totals, but it isn't the correct total - do you see what is wrong with this logic?  thanks

 

mcrowder_0-1696002843591.png

 

I added the measure definition of 'Total Rental Charges YTD#2' in case my error is in this definition.

mcrowder_0-1696003093211.png

 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors