Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello,
I have created a KPI to measure our inventory to YE balance in 2019. The KPI was working correctly until I added November 2019 data. Now the KPI is showing the Combined amounts rather then just Dec 2019. How do I adjust my measure below to only show Dec-19 balance?
Thanks in Advance
Hi @Shorty_AO
use something like this:
YE_Bal =
RETURN
CALCULATE (
[Total Inv],
FILTER (
ALL ( 'Calendar' ),
'calendar'[year] = YEAR ( TODAY () ) - 1
&& 'calendar'[month] = 12
)
)
Cheers,
Sturla
If this post helps, then please consider Accepting it as the solution. Kudos are nice too.
Thanks. I was able to use DATESBETWEEN('Calendar'[Date],"12/01/2019","12/31/2019")) to get it to work.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
12 | |
11 | |
10 | |
9 |
User | Count |
---|---|
18 | |
14 | |
14 | |
13 | |
12 |