Hi @wojteq , we aim to consistently improve the topics being posted on the forum to help you in getting a strong solution faster. While waiting for a response, here are some tips so you can get the most out of the forum and other Enterprise DNA resources.
Use the forum search to discover if your query has been asked before by another member.
When posting a topic with formula make sure that it is correctly formatted to preformatted text </>.
Use the proper category that best describes your topic
Provide as much context to a question as possible.
Include the masked demo pbix file, images of the entire scenario you are dealing with, screenshot of the data model, details of how you want to visualize a result, and any other supporting links and details.
One more. Subtotals were wrong, but when I used summarize and sumx they are now ok. I thought that grandtotal in this case will work properly too because I write in my measure that when is there is more then one value of “Trasa 2” (it is second level value in rows) it should use SUMX. But for some reason it dosen’t work in grandtotal like in subtotal. Why is that? And why there is correct result ONLY in waterfall chart?!
Hello @wojteq , due to the length by which this post has been active, we are tagging it as Solved. For further questions related to this post, please make a new thread. When starting a new post, I suggest linking this thread, provide as much context to a question as possible and include the masked demo pbix file, images of the entire scenario you are dealing with, screenshot of the data model, details of how you want to visualize a result, and any other supporting links and details. Thanks!
Hi @wojteq - Yes, DAX is all about Contexts. In your case if you are having both Rows and Columns in Matrix, then for Grand Total you will need to consider both Rows and Columns context.
As while calculating Grand Total, DAX will consider all values for Rows and Columns as there is no Filter for any while Calculating Sub-Total DAX will consider all value only for Rows if Calculating for Column and all values for Columns while calculating for Rows Subtotal.
Hope this is somewhat clear. For complete solution, Request you to share PBIX file for us to help further.
Hi @wojteq , did the response provided by @ankit help you solve your query? If not, how far did you get and what kind of help you need further? If yes, kindly mark the thread as solved. Thanks
Hi @wojteq, we’ve noticed that no response has been received from you since the 23rd of December. We just want to check if you still need further help with this post? In case there won’t be any activity on it in the next few days, we’ll be tagging this post as Solved. If you have a follow question or concern related to this topic, please remove the Solution tag first by clicking the three dots beside Reply and then untick the checkbox. Thanks!
A response on this post has been tagged as “Solution”. If you have a follow question or concern related to this topic, please remove the Solution tag first by clicking the three dots beside Reply and then untick the check box. Thanks!