Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Calculation Groups: time intelligence for actual vs forecast vs budget

Hi Community,

 

What I am looking to create is a table/matrix that compares a full P&L for actuals, forecast, budget, and last year's results all of which can be seen on a WTD, MTD, QTD, and YTD basis.

 

Below is a screenshot of what I am looking to do:

gordo_c_123_0-1655155929703.png

I have all the base and time intelligence written using the measure branching technique. This has been very inefficient because I have a lot of repetitive measures that change a few variables along with the SWITCH measure to create the visual P&L. I believe calculation group(s) would be the most effective strategy to achieve this result.

 

What is the best approach for this solution? Are multiple calculation groups required?

 

Thank you!

2 REPLIES 2
v-cgao-msft
Community Support
Community Support

Hi @Anonymous ,

 

//What is the best approach for this solution? Are multiple calculation groups required?

According to your description yes, four calculation groups are needed.

 

Hope this helps.

DAX Calculation Groups for Time Intelligence

Understanding the interactions between composite models and calculation groups

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Anonymous
Not applicable

Hi @v-cgao-msft 

 

Thank you for your response. This was a great article however I could not get the PY and YOY measures to work correctly.

 

Could you clarify what you mean when you say I need four calculation groups? I assume they would be WTD, MTD, QTD, and YTD. If so, what would this look like in tabular editor?

 

Thank you!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.