This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
I need the column for a parameter, so it automatically creates using the generateseries.
Since you are creating this table, can you just filter them out after its creation? For example, create a new custom column that extracts the two digits far right on the date. So for 20251238 the result would be 38. Then add another column that looks at your extracted date (the 38 column) and IF its greater than 31 return "Invalid date". If its less, then "Valid Date".
Then just filter your table to "Valid Dates only".
This is just a rough idea because ive never had to do this myself before. But couldnt this also be accomplished using the Calendar function instead? That way it never generates an invalid date to begin with? Check this out: https://learn.microsoft.com/en-us/dax/calendar-function-dax
Why you do not use calendar(Startdate,enddate) and than add a new column with YYYYMMDD:
VALUE(FORMAT(Table[Column]; "YYYYMMDD"))
It is easier.
Proud to be a Super User!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 30 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 60 | |
| 48 | |
| 29 | |
| 23 | |
| 23 |