Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hello all,
Objectif of my code : Assign a predetermine period identificator to a specific date
Scenario : I have a data source from a Sharepoint list , simple one Title and a date
I am using the switch function and for some reason the conditions I set for my function are never met,
here is the very simplified code I believe this as to do with the date format but Im at a lost and would love some help,
Thanks in advance guys !
Solved! Go to Solution.
This was a simple date format error,
it was fixed by putting the date in the date() fonction,
Cheers,
This was a simple date format error,
it was fixed by putting the date in the date() fonction,
Cheers,
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 43 | |
| 30 | |
| 27 | |
| 23 |
| User | Count |
|---|---|
| 134 | |
| 114 | |
| 58 | |
| 39 | |
| 35 |