Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
This is original data,the supplier B dont have value when 2024/1/3
This is power bi table
How to set the null value to the previous value.
Like this,if the date has no value, the value of the previous date is used:
Solved! Go to Solution.
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
thx for your answer😘
measure =
VAR current_date =
MAX ( dimdate[date] )
VAR ds =
SELECTCOLUMNS (
CALCULATETABLE (
LASTNONBLANK (
VALUES ( dimdate[date] ),
[ measure]
),
REMOVEFILTERS ( dimdate ),
dimdate[date] <= current_date
),
dimdate[date]
)
VAR res =
CALCULATE (
[measure],
dimdate[date] = ds
)
return
res
let me know if it works for you ,
If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution ✅
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠
thx for your answer 🙂
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
71 | |
38 | |
28 | |
26 |
User | Count |
---|---|
99 | |
88 | |
62 | |
42 | |
39 |