Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
In import mode I just make a new column with the average calculation, but now in Direct Query I cannot use average when making a expression for a new column. What is the best approach to acheive this?
Thanks,
-A-
@Peavey , You have to think the same in terms of measure.
In case it is simple Avg
Avg Measure = Average(Table[A])
If that was a calculation at the row level , try like
Avg Measure = AverageX(Table,Divide(Table[A],Table[B]))
@amitchandakclose but not quite.
I have 10 rows I need to average. Tried your solution and it works on fex. 2 rows. But when trying all 10, I get the error message: Internal error: An expression services limit has been reached. Please look for potentially complex expressions in your quesry, and try to simplify them.
Any ideas?
@amitchandakthere are 10 tables with 62 rows.
One row is one week. I need the average on each week from each table.
@Peavey ,
You can't create calculated column in PBI with Direct Query mode. But you can create measure. There are some limitations please refer the below image and link:
https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-directquery-about
@Peavey ,
For more deets, please refer the below link;
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
83 | |
75 | |
64 | |
39 | |
34 |
User | Count |
---|---|
107 | |
56 | |
52 | |
48 | |
40 |