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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors