Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All
I have below expression from @amitchandak , is working fine , but i need to remove the extra row which is not necessary.
My PBI file :-
https://www.dropbox.com/s/2u3bhe54yk67ckp/PBT_V2021_400%20GL_TI.pbix?dl=0
Paul Yeo
Solved! Go to Solution.
Hi @admin11
Current month - 1 PnL =
VAR _MIN =
EOMONTH ( TODAY (), -4 ) + 1
VAR _MAX =
EOMONTH ( TODAY (), -3 )
RETURN
IF (
ISBLANK ( [PnL_LYTD] ),
BLANK (),
TOTALYTD (
( GL[AMOUNT_1] ),
'Date'[Date],
FILTER ( 'Date', AND ( 'Date'[Date] >= _MIN, 'Date'[Date] <= _MAX ) )
)
)
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @admin11
Current month - 1 PnL =
VAR _MIN =
EOMONTH ( TODAY (), -4 ) + 1
VAR _MAX =
EOMONTH ( TODAY (), -3 )
RETURN
IF (
ISBLANK ( [PnL_LYTD] ),
BLANK (),
TOTALYTD (
( GL[AMOUNT_1] ),
'Date'[Date],
FILTER ( 'Date', AND ( 'Date'[Date] >= _MIN, 'Date'[Date] <= _MAX ) )
)
)
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi Paul,
Uncheck the Blank box in the filters
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |