Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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?
@Peavey , this a complex formula for 10 rows?
How many rows does the table have ?
@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;
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |