Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have Combine2020 = column A: values are "Yes" and "No". Column B:"Created Date", Column C="ID".
Table B: Has "Published date" and "ID"
ID is 1-many relationship from Table B to Table A.
This is what I have: Yes = CALCULATE(Count('Combine2020'[Is Useful?]),FILTER('Combine2020','Combine2020'[Is Useful?]="Yes"). This will give be count of "Yes" for unique ID.
"Is Useful?" has values of "Yes" an "No".
Now I want to modify the above calculation to get the count when the Created Date is before the Published date.
Thanks
Solved! Go to Solution.
@Anonymous , Try like
CALCULATE(Count('Combine2020'[Is Useful?]),FILTER('Combine2020','Combine2020'[Is Useful?]="Yes" && 'Combine2020'[Created Date]<=related('Table B:'[Published date])))
Please provide your feedback comments and advice for new videos
Tutorial Series Dax Vs SQL Direct Query PBI Tips
Appreciate your Kudos.
@Anonymous , Try like
CALCULATE(Count('Combine2020'[Is Useful?]),FILTER('Combine2020','Combine2020'[Is Useful?]="Yes" && 'Combine2020'[Created Date]<=related('Table B:'[Published date])))
Please provide your feedback comments and advice for new videos
Tutorial Series Dax Vs SQL Direct Query PBI Tips
Appreciate your Kudos.
Hello Amit:
If I want to get the values from [Created date] for just 3 months from [Published date], how would I change DAX?
Thanks
Thanks Amit.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.