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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Pbiuserr
Post Prodigy
Post Prodigy

Inaccurate underlying data export

Hello,

I've got a measure like

Terminated_Criteria = 
CALCULATE ( DISTINCTCOUNT('FactTable'[ID]), 'FactTable'[STATUS] = "Terminated", 'DimEvent[EVENT_DESC] = "Termination", DimReasonTable[REASON]= "Retirement" || DimReasonTable[REASON]= "Resignation" || DimReasonTable[REASON]= "End of conract" || DimReasonTable[REASON]= "Dismissal" && MIN('FactTable'[BEGIN_DATE]), USERELATIONSHIP( 'FactTable'[END_WORK_DATE], DimCalendar[Date]) ) )

 

Then I make out of it YTD like 

Terminated_Criteria_YTD 
CALCULATE ( [Terminated_Criteria], DATESYTD(DimCalendar[Date] ) )  

 

and now. I drag to the table ID and this measure Terminated_Criteria_YTD. Totals shows good amount, however when I export, not all of the ID's are exported - the result is less than total (which in fact supposed to be na countrows because each terminated_criteria_ytd gives either 1 or 0 to certain ID). I do not have summarize on ID (checked that).

 

What else could be here that it gives another total but exporting less rows? 

1 REPLY 1
v-luwang-msft
Community Support
Community Support

Hi @Pbiuserr ,

Could you pls share your pbix file ,remember to remove confidential data.

 

 

 

Best Regards

Lucien

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.