Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi , @GuyInACube
Can anyone help me on this scenario , which i am struggling for 2 days to arrive the solution,
> Fact table with Date,Entity, App, Value
>Need to identify the Value for the Entity & App combination for maximum date
>This will dynamically aggragted based on the multiple date hierarchy filters (screenshot attached)
>In the grand total i should see the sum of individual aggration (by summarizing Entity, app, value from above (respective date hierarchy)
I have tried to get the 505 of the result using below measure, but finding challenges in the grand total.
Solved! Go to Solution.
Hi @tomsmith213 ,
You can create another new measure as below and put this new measure to replace the original measure [Critical_Status2] onto the table visual. Later check if it can return the correct total values...
New Measure =
SUMX (
GROUPBY ( 'Sample', 'Sample'[Entity], 'Sample'[app] ),
SUMX (
GROUPBY (
'Calendar',
'Calendar'[Year],
'Calendar'[Quarter],
'Calendar'[Month_Name]
),
[Critical_Status2]
)
)
In addition, you can refer the following links to try to solve your problem...
Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand
Dax for Power BI: Fixing Incorrect Measure Totals
If the above one can't help you, could you please provide more raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Hi @sarava0483 ,
Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.
Best Regards
Hi @tomsmith213 ,
You can create another new measure as below and put this new measure to replace the original measure [Critical_Status2] onto the table visual. Later check if it can return the correct total values...
New Measure =
SUMX (
GROUPBY ( 'Sample', 'Sample'[Entity], 'Sample'[app] ),
SUMX (
GROUPBY (
'Calendar',
'Calendar'[Year],
'Calendar'[Quarter],
'Calendar'[Month_Name]
),
[Critical_Status2]
)
)
In addition, you can refer the following links to try to solve your problem...
Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand
Dax for Power BI: Fixing Incorrect Measure Totals
If the above one can't help you, could you please provide more raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
@sarava0483 First, please vote for this idea: https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e
This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Also: https://youtu.be/uXRriTN0cfY
And: https://youtu.be/n4TYhF2ARe8
User | Count |
---|---|
16 | |
15 | |
14 | |
12 | |
11 |
User | Count |
---|---|
19 | |
15 | |
14 | |
11 | |
9 |