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.
Hello , I got the problem with filter data such as above on screen.
I would like receive simple result. I wants show last date from table.
when I use measure with specific day (Date(year,month,day) everything works fine , but I use lastdate or max formula . I get wrong results
general I in my case I would like receive table with sum (TEST measure ) in latest day in table
sorry for quality of images
Solved! Go to Solution.
Hi @adii ,
You can update the formula of your measure [TEST] as below, then you can get the expected result...
TEST =
VAR last_day =
MAXX ( ALL ( 'LNG' ), 'LNG'[Date_ID] )
RETURN
CALCULATE (
SUMX ( 'LNG', [Cap [m3]] tys] * 1000 ),
FILTER ( 'LNG', 'LNG'[Date_ID] = last_day )
)
or
TEST =
VAR last_day =
CALCULATE ( LASTDATE ( 'LNG'[Date] ), ALL ( 'LNG' ) )
RETURN
CALCULATE (
SUMX ( 'LNG', [Cap [m3]] tys] * 1000 ),
FILTER ( 'LNG', 'LNG'[Date_ID] = last_day )
)
Best Regards
Hi @adii ,
You can update the formula of your measure [TEST] as below, then you can get the expected result...
TEST =
VAR last_day =
MAXX ( ALL ( 'LNG' ), 'LNG'[Date_ID] )
RETURN
CALCULATE (
SUMX ( 'LNG', [Cap [m3]] tys] * 1000 ),
FILTER ( 'LNG', 'LNG'[Date_ID] = last_day )
)
or
TEST =
VAR last_day =
CALCULATE ( LASTDATE ( 'LNG'[Date] ), ALL ( 'LNG' ) )
RETURN
CALCULATE (
SUMX ( 'LNG', [Cap [m3]] tys] * 1000 ),
FILTER ( 'LNG', 'LNG'[Date_ID] = last_day )
)
Best Regards
thanks you
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
117 | |
85 | |
49 | |
38 | |
28 |
User | Count |
---|---|
189 | |
76 | |
73 | |
54 | |
42 |