Forum Discussion
Slicer/Dax Query
- 1 year ago
Hi Wisdom Wu
That outcome is still not what we are trying to achieve
Let's close this post, no-one has been able to offer a solution but thank you for trying.
Kindest
Hi andyfoster ,
Create the new column to filter the metting date.
MeetingFlagLast6Months =
IF (
'v_headacc_meetings_10-30'[Metting Date] >= TODAY () - 180,
"Yes",
"No"
)
Drag the column to the slicer visual.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
I have done this with
This is the starting point/view
This shows one row is a meeting within the last 6 months a sshown by the 'Yes' in the last column from a calculated column created.
When NO is applied to the slicer, this removes the row which showed a meeting held in the last 6 months, the table below the slicer still shows the account.
By selecting YES, this only includes the row where the meeting is within the last 6 months
I understand this is the CORRECT behaviour, however this is not what we are trying to acheive.
When selecting NO what sales want is for any account that has had a Held meeting in the last 6 months not to be visible AT ALL, not even showing meetings outside of the 6 months.
They want to be able to see ALL accounts which have NOT had a call within the last 6 months, and I had hoped I could do this using slicers or another way.
This is why I have been trying all sorts of calculated columns and Dax measures but do not seem to be able to find a solution
I don't necessarily need this to be in a Slicer if there is a better way using buttons or something else.
Hope this makes sense
Thanks
- Anonymous1 year agoNot applicable
Hi andyfoster ,
May be try to create the following measure.
Filter the metting = IF(SELECTEDVALUE('v_headacc_meetings_10-30'[MeetingFlagLast6Months]) = "No", 1, 0)Then, drag the measure to the table visual Filters pane. Set the show items is 1 and apply.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- andyfoster1 year agoHelper I
Hi Wisdom Wu
That outcome is still not what we are trying to achieve
Let's close this post, no-one has been able to offer a solution but thank you for trying.
Kindest