This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. Learn more
Originally, I built a static dashboard and was able to create a column with the function below to aggregate dates for a dropdown menu:
MonthYear = DATE(YEAR('UTILIZATION_BY_HOURS'[Date]), MONTH('UTILIZATION_BY_HOURS'[Date]), 1)However, once I attempted to use the same function for Direct Query, it no longer works. I attempted to make some tweaks in Power Query, but I'm still running into an issue.
For context, the dropdown menu originally looked like this and I would like to maintain this format:
Any suggestions will be appreicated. Thanks again.
As in converting the dates to this formart? Even so, I get duplicates for each individual date.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 14 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 47 | |
| 39 | |
| 24 | |
| 20 | |
| 20 |