cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

DAX different grand totals for calculated measure - mulitple dimensions

Hi Guys,

 

 I need to calculate "forecast" basing on last available data for the month ( I need to show it till the end of the year) . I need it to show correct grand totals for two or more dimensions- in this case for category and for product . This is formula I used:

 

Test2:=CALCULATE((CALCULATE([sumofamount],filter(all('Calendar'),Calendar[Date]=MAX(Table1[Period])))),filter(all('Calendar'),Calendar[Date]<=MAX(Calendar[Date]))) As you see below - I need grand total (and subtotals ) to show sum of shown values (as in row Total I need). 

 

 

Capture.PNG

you can find my example here: https://ufile.io/efav3

 

 

I will be grateful for any tip. Thanks in advance

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: DAX different grand totals for calculated measure - mulitple dimensions

Hi werdinka,

 

The Grand Total result seems right, see screen below, can you clarify more details and logic about your requirement and expected result?

捕获.PNG 

 

Regards,

Jimmy Tao

Highlighted
Frequent Visitor

Re: DAX different grand totals for calculated measure - mulitple dimensions

Hi, on your screen there is just a sum of amount in grantotal as i see. In the example i shared there is a measure "test2", which calculates a forecast based on last availabe data for month.  and it doesnt show sum of calculated Test2 in grand total, but just a sum of amount. Capture.PNG

Helpful resources

Announcements
June 2020 Community Highlights

June 2020 Community Highlights

Featured community members, changes to the Community, and more! Read up on recent Power BI community news.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors