cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
po Member
Member

Force inner join possible

Hi,

 

Have the following 

 

 

sales table with date on it

 

calendra table with date on it.

 

Calnedra has an entry for every date whereas sales has an entry only if sales on those dates.

 

tables linked on dates but calendar pulling back all rows.

 

How can we ensure only calendar rows with sales data are retrieved or filter out all rows from calendar with no sales data.

 

No inner join box on relationships setup.

 

Thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Force inner join possible

Hi @po

 

You may create relationship between the two tables as below. Then drag the calendar date column and sales data in one visual.

1.png

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
4 REPLIES 4
dedelman_clng New Contributor
New Contributor

Re: Force inner join possible

Can you give some more information on how you are using the calendar and sales tables in a visual or in DAX? I have data with sporadic dates and cannot reproduce what you are describing.

 

dt.png

Super User
Super User

Re: Force inner join possible

Hi @po

There is no INNER JOIN option. When you drop a measure which doesn't return any data (blank) the dimenion rows will be automatically filtered out

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

Community Support Team
Community Support Team

Re: Force inner join possible

Hi @po

 

You may create relationship between the two tables as below. Then drag the calendar date column and sales data in one visual.

1.png

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
po Member
Member

Re: Force inner join possible

Thanks for replies.