Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I'm doing a direct query to a SQL DB to pull all the go-live dates for a group of projects and present them in table form to show the go-lives in the next 30 days, another table for 30-60 days and another table for 60-90 days. I believe I've found posts to cover that part using a summary table, the issue I'm seeing is that I need this filter to look at 15 different columns for each project for these dates as we have projects with multiple go-lives. The end result would look something like this:
Solved! Go to Solution.
Hi @kp_wood13 ,
Try to unpivot these date columns to get an attribute column contains headers and a value column contains dates.
Possible solutions:
1. Change the connection mode to import mode, and unpivot multiple date columns in Power Query to get one date column.
Unpivot columns - Power Query | Microsoft Learn
Power Query will always create the attribute-value pair by using two columns:
2.In the data source, SQL DB, unpivot multiple columns to get one date column.
Using PIVOT and UNPIVOT - SQL Server | Microsoft Learn
With single date column, you can easily filter.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @kp_wood13 ,
Try to unpivot these date columns to get an attribute column contains headers and a value column contains dates.
Possible solutions:
1. Change the connection mode to import mode, and unpivot multiple date columns in Power Query to get one date column.
Unpivot columns - Power Query | Microsoft Learn
Power Query will always create the attribute-value pair by using two columns:
2.In the data source, SQL DB, unpivot multiple columns to get one date column.
Using PIVOT and UNPIVOT - SQL Server | Microsoft Learn
With single date column, you can easily filter.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
94 | |
76 | |
62 | |
50 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |