Forum Discussion
Getting dates from different tables into main tables
- 4 years ago
Hi mohammadyousaf ,
According to your description, refer to the following formula whether it can meet your needs.
M_min = CALCULATE ( MIN ( Table_dimension[Date] ), FILTER ( ALL ( Table_1 ), Table_1[Catesgory] = MAX ( Table_1[Catesgory] ) ) ) M_max = CALCULATE ( MAX ( Table_dimension[Date] ), FILTER ( ALL ( Table_1 ), Table_1[Catesgory] = MAX ( Table_1[Catesgory] ) ) )If the problem is still not resolved, please provide detailed error information and test data. Looking forward to your feedback.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi mohammadyousaf ,
According to your description, refer to the following formula whether it can meet your needs.
M_min =
CALCULATE (
MIN ( Table_dimension[Date] ),
FILTER ( ALL ( Table_1 ), Table_1[Catesgory] = MAX ( Table_1[Catesgory] ) )
)
M_max =
CALCULATE (
MAX ( Table_dimension[Date] ),
FILTER ( ALL ( Table_1 ), Table_1[Catesgory] = MAX ( Table_1[Catesgory] ) )
)
If the problem is still not resolved, please provide detailed error information and test data. Looking forward to your feedback.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- mohammadyousaf4 years agoResolver II
Thank you.. it worked only for one table for me since I don't have date table. Each Table has its own dates and I am unable to connect it to date table as my data model is very complex, let's say around 100 tables imported from SQL.
Can you please assist me on creating variable and collecting dates or quantity from rest of the tables.
Thanks.