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!View all the Fabric Data Days sessions on demand. View schedule
Hi everyone,
I need to filter a card by a date. The card has a mesure that calculates how many products are sold every day divided by the open shops of that day.
What i want:
So 'New Products[Launch date]' has to filter 'Open shops'[Date]' in the card.
Thank you!
Hi @Marcos_Noguer ,
If your tables are like this:
You can create three different cards to achieve your purpose, here is the DAX:
UDLs(first day) =
CALCULATE (
DIVIDE ( SUM ( 'PRODUCT_MIX_RVC'[CANT_TRX] ), SUM ( 'Open shops'[Count] ) ),
FILTER ( 'Open shops', [Date] = MAX ( 'New Products'[Launch date] ) )
)
UDLs(first week) =
CALCULATE (
DIVIDE ( SUM ( 'PRODUCT_MIX_RVC'[CANT_TRX] ), SUM ( 'Open shops'[Count] ) ),
FILTER ( 'Open shops', [Date] = MAX ( 'New Products'[Launch date] ) + 7 )
)
UDLs(first month) =
CALCULATE (
DIVIDE ( SUM ( 'PRODUCT_MIX_RVC'[CANT_TRX] ), SUM ( 'Open shops'[Count] ) ),
FILTER (
'Open shops',
MONTH ( [Date] )
= MONTH ( MAX ( 'New Products'[Launch date] ) ) + 1
&& DAY ( [Date] ) = DAY ( MAX ( 'New Products'[Launch date] ) )
)
)
Final output:
If it isn't your expected output, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.
Refer to:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hey in this case, you need to hardcode measures for your card. Otherwise, the filter will apply to page visuals.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!