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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Solved! Go to Solution.
You can totally create a measure, just don't create one that sums up the values.
I'm assuming you have some sort of productID that relates from the master table to the stocks table.
Without knowing your table structure, your measure would look something like this:
Expiration% = DATEDIFF(TODAY(), SELECTEDVALUE(Stocks[ManufactureDate]), DAY)/ SELECTEDVALUE(Master[ExpiryLength])
Put this in a table with your list of items from the Stocks table, and it should give you correct values.
You can totally create a measure, just don't create one that sums up the values.
I'm assuming you have some sort of productID that relates from the master table to the stocks table.
Without knowing your table structure, your measure would look something like this:
Expiration% = DATEDIFF(TODAY(), SELECTEDVALUE(Stocks[ManufactureDate]), DAY)/ SELECTEDVALUE(Master[ExpiryLength])
Put this in a table with your list of items from the Stocks table, and it should give you correct values.
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!