Forum Discussion
spamspam
7 years agoRegular Visitor
Filtering Multiple Date Columns in one Report
Hi All, I have been using Powerbi for a few months, report writing ect and i am stuck on this. I have 3 date columns, for different types of Insurances, i want to be able to see any that are ...
- 7 years ago
Hi spamspam
It seems you may try to use DATEDIFF Function to create the measures for each column as requested. For example:
UpdateWorkersComp = IF ( DATEDIFF ( NOW (), MAX ( 'Sample'[Workers comp] ), DAY ) <= 30, MAX ( 'Sample'[Workers comp] ) )Regards,
Cherie
gmsamborn
2 years agoSuper User
Hi sizi
In Power Query, I unpivoted the date columns.
I also added 2 dimension tables (Date and Phase) and created 1:* relationships between the dimension tables and the fact table.
Filtering Multiple Date Columns in one Report - 1.pbix
Let me know if you have any questions.
sizi
2 years agoHelper II
I cannot unpivot the date columns in power query. its giving error. My datasource is sharepoint. Is there any other way i can define date filter which can filter dates based on any date column?
Thanks,