Forum Discussion
Compare / Combine Data
- 4 years ago
I revised the two measures below:
Audit Date 1 = IF ( MAX ( Table2[AuditScorePercentage1] ) <> BLANK (), MAX ( Table2[Date1] ) )Audit Date 2 = IF ( MAX ( Table2[AuditScorePercentage2] ) <> BLANK (), CALCULATE ( MAX ( Table2[Date1] ), Table2[AuditScorePercentage2] <> BLANK () ) )
DataInsights Thank you! Do you have a sample date table?
I believe I got this to work, but I have not finished testing, see my table here and feel free to judge how it looks or if there are more fields that should be added to further filter dates.
Thank you!
See the link below. You may not need all these columns, so I would focus on what you want from your data model, and create those columns.
https://www.sqlbi.com/articles/reference-date-table-in-dax-and-power-bi/
Here's a link to a date table in Power Query:
https://radacad.com/all-in-one-script-to-create-date-dimension-in-power-bi-using-power-query
- datadmin-austin4 years agoHelper I
DataInsights Thank you very much for your time! Everything is working and I will use these links as reference.