Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
Share some data to work with and show the expected result. Please also offer an explaination vial textboxes/comments.
You are replying after quite many days. Also, pleas read my comment posted on Decemebr 8, 2023.
I did read it. I replied to rongtiep here: https://community.fabric.microsoft.com/t5/Desktop/Show-latest-value-on-each-day/m-p/3574123/highligh... but he didn't respond anymore. The reason I only reply now to your comment is because I thought rongtiep was able to help me.
I really cannot understand the expected result. May be someone else will help you.
Hi @PowerBI_RD ,
Please have a try.
Latest Stage Value =
VAR LastDayAvailable =
CALCULATE (
MAX ( 'Date_table OppFieldHistory'[Date] )
)
VAR CurrentDates =
FILTER (
VALUES ( 'Date_table OppFieldHistory'[Date] ),
'Date_table OppFieldHistory'[Date] <= LastDayAvailable
)
VAR LatestStage =
CALCULATE (
MAX ( 'Date_table OppFieldHistory'[Stage] ),
DATESYTD ( CurrentDates )
)
VAR Result =
CALCULATE (
[Total Opportunities Weighted Amount OppFieldHistory],
'Date_table OppFieldHistory'[Stage] = LatestStage,
DATESYTD ( CurrentDates )
)
RETURN
Result
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
85 | |
65 | |
51 | |
45 |
User | Count |
---|---|
217 | |
88 | |
81 | |
65 | |
56 |