Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello, please see my chart and expression below. For the 'YTD' line on the graph I dont want it to go down to the x-axis and show all those 0's. I want the YTD line to just stop at its most current point/most current month, instead of shooting downwards. How would i get this to work? Thank you!
=COUNT({<[Exam Status] -= {'X'}, _Scheduled_CurYTDFlag = {'1'}, [WH Exam Type] -={""}, [Scheduled Month Year]-={'$(vCurrentMonth)'}>} DISTINCT [Accession Number])
Use this expression as the measure:
If(COUNT({<[Exam Status] -= {'X'}, _Scheduled_CurYTDFlag = {'1'}, [WH Exam Type] -={""}, [Scheduled Month Year]-={'$(vCurrentMonth)'}>} DISTINCT [Accession Number]) >0, COUNT({<[Exam Status] -= {'X'}, _Scheduled_CurYTDFlag = {'1'}, [WH Exam Type] -={""}, [Scheduled Month Year]-={'$(vCurrentMonth)'}>} DISTINCT [Accession Number]), null())
Use this expression as the measure:
If(COUNT({<[Exam Status] -= {'X'}, _Scheduled_CurYTDFlag = {'1'}, [WH Exam Type] -={""}, [Scheduled Month Year]-={'$(vCurrentMonth)'}>} DISTINCT [Accession Number]) >0, COUNT({<[Exam Status] -= {'X'}, _Scheduled_CurYTDFlag = {'1'}, [WH Exam Type] -={""}, [Scheduled Month Year]-={'$(vCurrentMonth)'}>} DISTINCT [Accession Number]), null())
Try by checking suppress zero values option
I tried that on my tests, but it did not work as expected for line charts!
Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com
This looks better but does not solve the problem too. It still displays a flat line without any value:
Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com
I think I got it. You have to use @Lisa_P expression but check this property in your chart:
Regards,
Mark Costa
Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com
this worked! thank you Lisa!