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
KenZ555
New Member

What's wrong with my DAX measure?

Hi all, got a question happened on me twice:

 

I was learning PowerBi following some toturial video. When creating a new measure with DAX, for example, calculate the variance between two type of revenue, I used exact DAX but got the result is zero. I checked DAX it's 100% correct so I'm very confused where's the problem. or is it just my PowerBi desktop doesn't function well 😞

 

Has anyone encounter this before?  

 

 

1 ACCEPTED SOLUTION
rsbin
Super User
Super User

@KenZ555 ,

Appears you are using the exact same Filter in both VAR's.  Hence, both results will be the same.

Change the Filter in VAR CommercialRevenue to "Commercial", not "Residential".

Hope this will solve your issue.

Regards,

View solution in original post

3 REPLIES 3
rsbin
Super User
Super User

@KenZ555 ,

Appears you are using the exact same Filter in both VAR's.  Hence, both results will be the same.

Change the Filter in VAR CommercialRevenue to "Commercial", not "Residential".

Hope this will solve your issue.

Regards,

champion!  thank you so much!!

@KenZ555 ,

No worries.  Glad it all worked out for you.

Please Kudo the response and accept as Solution to close out the thread.

Good Luck on your journey.

Regards,

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.