Forum Discussion
Histogram - space for empty bars
- 6 years ago
Hi, JohannTTG
Based on your description, I created data to reproduce your scenario.
Table:
You may create the 'Year' column as below. Its data type is text.
Year = FORMAT('Table'[Date],"yyyy")Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- 6 years ago
Thank you - your suggestion showed me the way. I convert the x-axis-number to text and this does the job!
Thanks for your quick reaction.
There are values > 0 for every (!) year. All the user wants is to remove the gaps for non-selected years.
If I look at the data as a table then I do not see data for the not-selected year.
- v-alq-msft6 years agoCommunity Support
Hi, JohannTTG
Based on your description, I created data to reproduce your scenario.
Table:
You may create the 'Year' column as below. Its data type is text.
Year = FORMAT('Table'[Date],"yyyy")Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- JohannTTG6 years agoHelper I
Thank you - your suggestion showed me the way. I convert the x-axis-number to text and this does the job!