Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
I have a conditional column:
if [startdate] >= [validtodate] then 1 else 0
which produces a result. However when I filter on the result column (only to include 1) and then group the result, I'm presented with the above error.
Can anyone please offer a solution?
Many thanks.
Solved! Go to Solution.
Ok, so this is all in Power Query preview screen?
What is the Grouping M code?
Do you have null values in your data?
Ok, so this is all in Power Query preview screen?
What is the Grouping M code?
Do you have null values in your data?
I've just realised I had null value in one column. There was so much data that it hadn't all loaded so I didn't see it intially, but once I've selected 'load more' it's become visible.
Thank you for your help!
"when I filter on the result column" - you have created a visual with the column in it? What visual and what else is in it?
"then group the result" - what does this mean? how are you grouping it?
Sorry, no, when I say filter, I mean, once I have the result of the conditional column above then I've filtered that column to only show the '1'.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 4 |