Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
admin11
Memorable Member
Memorable Member

How to make my REV YTD expression can display Amount with out select year=2021 ?

Hi All

 
Below expression was given by some one , it work fine , it will display Exp YTD amount even i don't need to tick Year = 2021 :-
_YTD EXP = CALCULATE(CALCULATE(GL[AMOUNT],DATESYTD('Date'[Date],"12/31")), GL[1_EXP] = "EXP")
 
I try to modify the above for REV , it work fine , But i need to tick Year = 2021 , else it will display Blank :-
_YTD REV = CALCULATE(CALCULATE(GL[AMOUNT],DATESYTD('Date'[Date],"12/31")), GL[1_REV] = "REV")
 
May i know how to make the above expression can still display REV Amount , where i don't need to tick year=2021.
 
Edit :- it work fine now. it is cause by some filter . ( when i try to produce the sample file to simulate the issue )
 
Paul Yeo
 
 
 
1 REPLY 1
v-robertq-msft
Community Support
Community Support

Hi, @admin11 

Glad to hear that you have solved your problem by yourself, would you like to mark your own problem description as a solution so that others can learn from it too?

Thanks in advance!

How to Get Your Question Answered Quickly 

 

Best Regards,

Community Support Team _Robert Qin

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.