Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Dear Team,
Even there no document from Microsoft/Blog to find what is going on there in Formula engine.
Can anyone help us.
@amitchandak @parry2k @Greg_Deckler @MFelix @MattAllington @Ashish_Mathur @ImkeF
Hi @Baskar,
Can you please share some more detail about the 'FE' part that spend most of the duration to process?
How to Get Your Question Answered Quickly
In addition, have you traced the network status of remote access? It may also affect the performance if these queries are pending for network connection and delay.
Regards,
Xiaoxin Sheng
How we can measure the FE timing ? in DAX studio.
HI @Baskar,
FE and SE seem to mean the 'formula engine' and 'storage engine'. Perhaps You can take a look at the following blog about the difference between the two engines:
Formula engine and storage engine in DAX
Regards,
Xiaoxin Sheng
Thanks. Here my problem is FE taking more time than SE.
Nothing is there in my model...
Want to know whats went wrong here.
HI @Baskar,
Tasks of the formula engine
The formula engine converts a DAX query into a query plan with a list of physical steps to execute. Each step in the query plan corresponds to a specific operation executed by the formula engine. Typical operators of the formula engine include joins between tables, filtering with complex conditions, aggregations, and lookups. Some of these operators require data from columns in the data model. In these cases, the formula engine sends a request to the storage engine, which answers by returning a datacache. A datacache is a temporary storage area created by the storage engine and read by the formula engine that contains the result of a storage engine query.
Datacaches are not compressed; datacaches are plain in-memory tables stored in an uncompressed format, regardless of the storage engine they come from. Because the formula engine is single-threaded, any operation executed in the formula engine uses just one thread and one core, no matter how many cores are available. The formula engine sends requests to the storage engine sequentially, one query at a time. A certain degree of parallelism is available only within each request to the storage engine, which has a different architecture and can take advantage of the multiple cores available.
I think it may mean the formula engine has handled some processing of the storage engine. Since it is single-threaded, if it invoked multiple times, it may use some additional time to process the queue of steps.
Regards,
Xiaoxin Sheng
@Baskar ,
Direct Query, means SQL - Please
and For DAX, please share the columns you are using in DAX visual.
User | Count |
---|---|
116 | |
73 | |
60 | |
48 | |
48 |
User | Count |
---|---|
171 | |
122 | |
60 | |
59 | |
56 |