Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hello! Here is my power query. However, I am unsure how to do a date range from 11/21/2022 to just a specific date (like 2/27/2023). Can I change this line in my power query to do that?
{Cube.ApplyParameter, "DateRange", {#date(2022, 11, 21), Date.AddDays(DateTime.Date(DateTime.LocalNow()),-4)}},
Try this instead
{Cube.ApplyParameter, "DateRange", {#date(2022, 11, 21), #date(2023,2,27)}},
Pat
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 5 | |
| 4 | |
| 4 |