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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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