The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hey guys,
I have the table below with the closing base showing the correct value by day, but the total by month is wrong.
It's giving me the average, and for the business logic it should be giving me the last day amount which is 1,172,294.
So for each month the value should be the amount for the last day of the month.
What do I need to do to see the expected value?
Many thanks!
Solved! Go to Solution.
I used the dax below and it works.
Hi @ROG
Please try
Closing Base 2 = SUMX ( VALUES ( 'Table'[Month Name Long] ), [Closing Base] )
Thansk @tamerj1 Unfortunately, it's giving me the exact amount I have.
What I need is a dax measure that shows the amount of last date of the month, and not the total for that month.
The result will say how much the business closed the month.
I used the dax below and it works.
Please try
Closing Base 2 =
CALCULATE (
[Closing Base],
'Table'[Month Name Long] = MAX ( 'Table'[Month Name Long] )
)
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
32 | |
20 | |
16 | |
15 |
User | Count |
---|---|
79 | |
32 | |
30 | |
24 | |
21 |