Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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] )
)
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 21 | |
| 14 | |
| 10 | |
| 5 | |
| 5 |