Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
What am I doing wrong?
Thanks.
Solved! Go to Solution.
Source Data
Unpivot the value columns (including also the columns with 0 value)
Changing the data type of Attribute
Create a measure called latest date with max formula
Using a table visual
Now if you want to see only the latest date of actual then there are multiple ways
1. using slicer
2. Using filter pane
3. by updating the latest date formula
You can choose whichever is suitable for your case scenario.
If it solves your query then requesting you to accept the solution.
Source Data
Unpivot the value columns (including also the columns with 0 value)
Changing the data type of Attribute
Create a measure called latest date with max formula
Using a table visual
Now if you want to see only the latest date of actual then there are multiple ways
1. using slicer
2. Using filter pane
3. by updating the latest date formula
You can choose whichever is suitable for your case scenario.
If it solves your query then requesting you to accept the solution.
Hi,
I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attahced pbix file.
Expected result Last Non Blank value: =
VAR _lastnonblankdate =
MAXX (
FILTER (
ALL ( 'Calendar'[Date] ),
CALCULATE ( SUM ( 'Cement & Silo Data'[Value] ) <> 0 )
),
'Calendar'[Date]
)
RETURN
CALCULATE (
SUM ( 'Cement & Silo Data'[Value] ),
KEEPFILTERS ( 'Calendar'[Date] = _lastnonblankdate ),
KEEPFILTERS ( 'Description'[Description] = "Silo 1 Actual (t)" )
)
hello @kylee_anne
from your dax, seems you are looking for sum of value.
if you want to get latest date, perhaps something like below (i assumed this is in measure form).
calculate(
max('date'),
filter(
all('table'),
'value'>0&&'description'="Silo 1 Actual(t)"))
Thank you.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |