Forum Discussion
Problem filtering the dates for a table with two diferent dates
Hello everyone.
I'm having a problem with the date filters in the visuals, because I'm feeding the chart a table that contains for each value 2 columns with different dates.
Let me explain:
Table 1
Column A - File creation date
Column B - Date of orders
Column C - Number of orders
Table 2. Date
Only contains dates.
As I can't link table 2 [Dates] to the two date columns in table 1, the images are only filtering based on the active relationship.
For example, in these images, when I filter 2024 OR 2023, it's only working for THE date of the orders, which is the active relationship.
Can someone please help? Thank you.
2 Replies
- amitchandak
Super User
Anonymous , I think, this is case where you need two date tables , one for each date
example
Customer Retention Part 3: Period Of Stay – Cohort Analysis: https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-3-Period-Of-Stay-Cohort-Analysis/ba-p/1393410
Power BI Cohort Analysis, Customer Retention %- https://youtu.be/qY1SDF1cwsg
- AnonymousNot applicable
Hi Anonymous ,
I made simple samples and you can check the results below:
An attachment for your reference. Hope it helps!
Best regards,
Community Support Team_ Scott ChangIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.