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.
In short, Now I have a text column like //maybe more than 3 size pairs
"24x24 36x36 64x80"
Now I have to calculate the average width (24 + 36 +64) / 3
further, I need to calculate how many square in the above text. (2)
Notice: I use direct query mode now.
Hi @Anonymous
After testing, when you use the direct mode in Power query, many operations will be limited, it has the following limitation:
If the Power Query Editor query is overly complex, an error occurs. To fix the error, you must either delete the problematic step in Power Query Editor, or switch to import mode.you can refer to the following link.
it's better that you change the mode to import, the import mode support all operations in Power Query.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I have try lots of methods. And I found I can use #"Split Column by Delimiter" = Table.TransformColumns(#"Renamed Columns", {{"clean_sizes", Splitter.SplitTextByDelimiter(" ", QuoteStyle.Csv), let itemType = (type any) in type {itemType}}}),
to make the split result save to a list. But When Translate this list to a average number, it always remind me the step can't work in direct query mode. It's so weird. How to do that.
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.