Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Help needed!
Selected Parameter = maxx(filter('Date Value', 'Date Value'[Date Value Order] = SELECTEDVALUE('Date Value'[Date Value Order])), 'Date Value'[Date Value Fields])
This returns the name of selected column in slicer created using field parameter. I have 4 columns in slicer - "LAST_OPPORTUNITY_CHANGE_DT", "MBR_PGM_CREATE_DT", “MBR_PGM_ENROLL_DT","OPPORTUNITY_CREATE_DT"
Attaching test dashboard snapshot for your reference.
Now based on the selected column name wants to create flag if the particular date of that column falls in last 180 days.
Last 180 days flag = IF([Selected Parameter] > (TODAY()-180),"1","0")
This is giving error, value coming from selected parameter is not considered as column but is considered as text. So it's not matching up with today()-180 days condition.
The value coming from selected parameter is not considered as column but is considered as text. So, it's not matching up with today()-180 days condition. If I directly consider column the formula is working fine.
Please suggest how should I approach this problem.
@Nishant77Goel , Can you share error you are getting
Also try this one as number
Last 180 days flag = IF([Selected Parameter] > (TODAY()-180),1,0)
User | Count |
---|---|
89 | |
82 | |
48 | |
40 | |
35 |