Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
10 | |
8 | |
7 | |
6 | |
6 |