The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have two Table and there are no relationship between them. One table (FilterTable) has one column Months. Another Table (DateRangeTable) have some column like StartDate , EndDate. Where date ranges (StartDate - EndDate ) can be overlapping.
If I select any Month like May-2011, it should return those date ranges ( StratDate - EndDate) which are related to selected month.
FilterTable:
DateRangeTable:
Thank you
Dear @NikhilChenna ,
please view again I edit some line that clearify more my question
Hi @mukdo ,
If you want the second table to show the data according to the first table filter there should be a relationship without it you cannot filter.
Regards,
Nikhil Chenna
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
I need to Date Between like DATESBETWEEN(Months, StartDate, EndDate) then how can I relation with it?
Suppose I Select Month May-2011
and I have a data which StartDate Jan-2010 and EndDate Feb-2015
this data should be return. Casuse its in between Start and EndDate
Hi @mukdo ,
It is simple. You have use create a date dimension table and create one to many relationship with both the tables. and then use montth slicer from the date table it should work.
Regards,
Nikhil Chenna
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
User | Count |
---|---|
74 | |
70 | |
39 | |
30 | |
28 |
User | Count |
---|---|
104 | |
95 | |
51 | |
48 | |
46 |