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 September 15. Request your voucher.

Reply
mamabox22
Frequent Visitor

Same Measure, diffrent outcome

Hey guys,

i am confused about a measure i did.
I did a measure to Count all columns in a table an noticed that i got a wrong output.

mamabox22_0-1646220070126.png

Measure = CALCULATE(DISTINCTCOUNT('KBSYS PATCH'[ID]),FILTER('KBSYS PATCH','KBSYS PATCH'[IS_SUPERCEDED] = false))
Both Measures are the same. The right Measure was created directly in 'KBSYS PATCH' and gives the right amount out, but the left one was created in my measure table and i cant see why it is that way.

May someone tell me, shoud be an easy fix but i cant find something online. 
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@mamabox22 , The diff I Can think of as of now is

 

CALCULATE(DISTINCTCOUNT('KBSYS PATCH'[ID]),FILTER('KBSYS PATCH','KBSYS PATCH'[IS_SUPERCEDED] = false() ))

 

do you have formula for other measure

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@mamabox22 , The diff I Can think of as of now is

 

CALCULATE(DISTINCTCOUNT('KBSYS PATCH'[ID]),FILTER('KBSYS PATCH','KBSYS PATCH'[IS_SUPERCEDED] = false() ))

 

do you have formula for other measure

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

Well... that worked. Sorry for wasting your time.

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.