Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello everyone,
I need to create a measure that returns the dates on which a shop is open but there are no sales.
Solved! Go to Solution.
zenisekd's approach is how I would normally do this as I've found the date as a separate column makes it easier to read compared to a list of dates.
If your use-case does mean that a measure that returns the dates where the shop has no sales is preferrable, note that a measure returns a single value, so you'd need to somehow merge all of those dates into a single result value.
Here's an example measure that returns the list of dates for the currently visible shop as a comma-separated list:
zenisekd's approach is how I would normally do this as I've found the date as a separate column makes it easier to read compared to a list of dates.
If your use-case does mean that a measure that returns the dates where the shop has no sales is preferrable, note that a measure returns a single value, so you'd need to somehow merge all of those dates into a single result value.
Here's an example measure that returns the list of dates for the currently visible shop as a comma-separated list:
pls provide some sample data and expected output
Proud to be a Super User!
@LamSar perhaps you could create a measure, something like:
Create a table, where you put the dates and then use the "SaleAmount" as a visual filter, setting the condition to be "blank" or =0.
Or create a measure:
That will not work for me, because for some dates + Shops, there are no rows in the sales table
It will work as long as you select option "show items with no data".
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.