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.
I am using 2 Measure for YTDs and can see the Forecast values are correct by Month-Year in the table, but cannot figure out how to get the current YTD forecast value into a scorecard (single value based on current Month when viewing). The value circled below in the pic is what I'm after - and obviously will change based on the month we're in. I'm guessing another Measure is needed. I tried to use "LASTNONBLANK" but cannot figure out the correct syntax in combination with the measure below (YTD_NOW). Any help would be appreciated.
My YTD Measures are:
Solved! Go to Solution.
@AWentzEco change your YTD Now measure like this
YTD Now = CALCULATE(
[YTDTOTAL],
KEEPFILTERS( MyTable[Savings Date] <= TODAY() )
)
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Ok, I just updated the 'KEEPFILTERS' to 'FILTER' and it works!! I think this solved it - thank you for the help.
YTD_AGAIN = CALCULATE([YTDTotal],FILTER(‘MyTable,’MyTable'[Savings Date].[Date] <= TODAY()))
@AWentzEco change your YTD Now measure like this
YTD Now = CALCULATE(
[YTDTOTAL],
KEEPFILTERS( MyTable[Savings Date] <= TODAY() )
)
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
I created the new Measure and then tried using that in the Scorecard and it's still a blank value. Only when I click on the table value will the measure value appear in the Scorecard. Do I need to use Var with an IF to get today's value in there for the measure? I know I'm missing the Date link or something since none of those YTD measures I created work in the Scorecard - they all show as 'blank'.
YTD_AGAIN = CALCULATE([YTDTotal],KEEPFILTERS(‘MyTable’[Savings Date] <= TODAY()))
Ok, I just updated the 'KEEPFILTERS' to 'FILTER' and it works!! I think this solved it - thank you for the help.
YTD_AGAIN = CALCULATE([YTDTotal],FILTER(‘MyTable,’MyTable'[Savings Date].[Date] <= TODAY()))
@AWentzEco glad to hear. enjoy!! 🙂
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
User | Count |
---|---|
16 | |
14 | |
13 | |
12 | |
11 |
User | Count |
---|---|
19 | |
15 | |
15 | |
11 | |
10 |