Forum Discussion
Line Chart - show series only when one item selected
- 7 years ago
Hi Anonymous,
Try this measure, please. You don't need to change the "Cross Filter Direction" this time.
Places (M) 2 = IF ( ISFILTERED ( Courses[campaignid] ), SELECTEDVALUE ( Courses[Maximum Attendees] ), BLANK () )Best Regards,
Dale
Thank you, yup that certainly gets the Places line functioning as I'd hoped, but the time axis is now behaves incorrectly.
It should/was showing from creation date of first associated booking until the last for the selected course. Now it appears to be selecting the first and last for the entire table??
Hi Anonymous,
Try this measure, please. You don't need to change the "Cross Filter Direction" this time.
Places (M) 2 =
IF (
ISFILTERED ( Courses[campaignid] ),
SELECTEDVALUE ( Courses[Maximum Attendees] ),
BLANK ()
)
Best Regards,
Dale
- Anonymous7 years agoNot applicable
That works in the example but not in my actual model.
I will see if I can figure out why, if only my brain worked as well as yours!
- v-jiascu-msft7 years ago
Microsoft Employee
Hi Anonymous,
I attached the file in the attachment. You can download it and find if something is wrong.
Best Regards,
Dale- Anonymous7 years agoNot applicable
I got it!
I wasn't using [campaignid] in my actual model as I'm using a sensitive field not included in the example.
I simply changed the ISFILTERED reference to the appropriate column and it's now working 100% as I'd intended.
Thanks very much for your help, it's really great to not only have this as a resource but to receive such prompt replies!