Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

How to modify expression to return 30 day till 60 day ?
03-15-2022
04:13 PM
Hi All
I have below expression working fine for from 0 day till 60 day :-
_Deal > Today 60day =
Var _Today =TODAY()
Var _Today_60 = _Today+60
return
IF ('CRM_TS'[Closing Date] >=_Today&&'CRM_TS'[Closing Date] <=_Today_60 , 1, 0)
May i know how to modify the expression , so that it will give from 30 day till 60 day ?
_Deal > Today 30_60day =
Var _Today =TODAY()+30
Var _Today_60 = _Today+60
return
IF ('CRM_TS'[Closing Date] >=_Today&&'CRM_TS'[Closing Date] <=_Today_60 , 1, 0)
Above no error , but return wrong value .
Hope some one can advise me.
Paul
Solved! Go to Solution.
1 ACCEPTED SOLUTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2022
04:30 PM

Since you've already added 30, change your second variable to this.
Var _Today_60 = _Today+30
Pat
Did I answer your question? Mark my post as a solution! Kudos are also appreciated!
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
@mahoneypa HoosierBI on YouTube
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2022
04:30 PM

Since you've already added 30, change your second variable to this.
Var _Today_60 = _Today+30
Pat
Did I answer your question? Mark my post as a solution! Kudos are also appreciated!
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
@mahoneypa HoosierBI on YouTube
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Helpful resources
Recommendations
Subject | Author | Posted | |
---|---|---|---|
10-22-2024 03:19 AM | |||
Anonymous
| 10-14-2024 12:42 AM | ||
01-22-2025 12:09 AM | |||
03-22-2023 08:53 AM | |||
Anonymous
| 06-25-2024 01:54 PM |
Featured Topics
Top Kudoed Authors (Last Month)
User | Count |
---|---|
121 | |
104 | |
88 | |
52 | |
45 |