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
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
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