Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
If I got 2 tables: Table1 that has column: Date and Table2 that has columns: Date1 & Date2, how could I merge the 2 tables based on a condition, if today is Saturday or Sunday, so, the used column of Table2 is Date1 otherwise, it is column: Date2 to merge with, how to script this in merging step please?
Please provide sanitized sample data that fully covers your issue.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
| User | Count |
|---|---|
| 12 | |
| 8 | |
| 7 | |
| 5 | |
| 5 |