Forum Discussion
Composite Model on Service and Calculate Tables
- Anonymous4 years ago
Hi Anonymous ,
I created some data:
Direct Query:
Import:
You can create a calculation table:
Table = SUMMARIZE('sysdiagrams','sysdiagrams'[name],'sysdiagrams'[diagram_id], "amount",CALCULATE(SUM('Sheet1'[amount]),FILTER(ALL('Sheet1'),'Sheet1'[diagram_id]='sysdiagrams'[diagram_id])))You can publish the calculation table to the power bi service:
The calculation table is equivalent to Import mode. You can configure the gateway, and then you can set the schedule refresh or manually refresh immediately to update the data.
https://docs.microsoft.com/en-us/power-bi/connect-data/refresh-data
https://docs.microsoft.com/en-us/data-integration/gateway/service-gateway-app
https://docs.microsoft.com/en-us/power-bi/connect-data/refresh-scheduled-refresh
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi Anonymous ,
I created some data:
Direct Query:
Import:
You can create a calculation table:
Table =
SUMMARIZE('sysdiagrams','sysdiagrams'[name],'sysdiagrams'[diagram_id],
"amount",CALCULATE(SUM('Sheet1'[amount]),FILTER(ALL('Sheet1'),'Sheet1'[diagram_id]='sysdiagrams'[diagram_id])))
You can publish the calculation table to the power bi service:
The calculation table is equivalent to Import mode. You can configure the gateway, and then you can set the schedule refresh or manually refresh immediately to update the data.
https://docs.microsoft.com/en-us/power-bi/connect-data/refresh-data
https://docs.microsoft.com/en-us/data-integration/gateway/service-gateway-app
https://docs.microsoft.com/en-us/power-bi/connect-data/refresh-scheduled-refresh
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
- Anonymous4 years agoNot applicable
Got it, thanks.
What if I want to create a calculated column on a DirectQuery table, is it going to behave like Imported data or is it going to be "live"?