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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
haloboyscp
Helper I
Helper I

CrossJoin for blank dates vs defined dates

Hello to everyone

 

I need help since I managed to crossjoin in a new table all values that are defined for specific dates.

However, i've got the standard prices for the non-campaign times (Which have blank dates):

 

haloboyscp_0-1616149969205.png

FILTER(CROSSJOIN(Table1,'Table2), Table1[Week]>='Table2'[inicio] && Table1[Week]<='Table2'[fim] && Table1[Bundle2]='Table1 2'[PP])
 
However this is matching me only the values which have a promo. is it possible to create a new table only for not matching dates (which in this case are blanks) and arent subject to the period conditions?
 
Thanks
1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Create a CALENDAR() table that covers the entire range of dates you want to report against, then use GENERATESERIES() for the dates where you have events, and finally EXCEPT() the two tables which will give you all the dates that do NOT have events.

View solution in original post

4 REPLIES 4
lbendlin
Super User
Super User

Create a CALENDAR() table that covers the entire range of dates you want to report against, then use GENERATESERIES() for the dates where you have events, and finally EXCEPT() the two tables which will give you all the dates that do NOT have events.

Thanks Mate!

lbendlin
Super User
Super User

Is 'Table1 2'  a typo?

 

Are you familiar with the EXCEPT() and INTERSECT() functions?

Hello,

 

It's just a typo, yes. should just read Table2.

 

Yeah. I am familiar with those, however not managing to apply them to this here.

 

Thanks.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.