Forum Discussion
Constant Line loses its format
- Anonymous4 years ago
Thanks for your help on this. I eventually opted for displaying the constant line when the Countrows(HubTable) > 0.
My preference would be for it to be blank as this is the behaviour when using small multiples.
can you not filter the blank section out? its actually really hard to answer this question with the limited information you have given, i do not know how your data is modelled, i also do not know what your objective with the data is. If you need a more detailed response you will need to give more information like
what your data looks like the sample data ie the model and a sample to understand why it is being displayed if no data is showing
what requirement you are trying to solve
assuming you are using the y axis constant line?
- Anonymous4 years agoNot applicable
Here is a link to a sample model that replicates the bug.
- v-easonf-msft4 years agoCommunity Support
Hi, Anonymous
Please add another table as below:
DivisionName = DISTINCT('Hub Table'[DivisionName])Then use the field 'DivisionName' in this new table to replace your previous field to filter the data in your visuals.
Result:
Best Regards,
Community Support Team _ Eason- Anonymous4 years agoNot applicable
Thanks for your help on this. I eventually opted for displaying the constant line when the Countrows(HubTable) > 0.
- vanessafvg4 years agoCommunity Champion
I have played around with your data a bit but I don't think it is possible to remove a constant line - it's affectively hard coding it. so even when there isn't data the constant line isn't intelligent enough to not show as far as i can tell.