Forum Discussion

Macc-PA's avatar
Macc-PA
Helper I
5 years ago

Cannot toggle between log+linear scale

I have a histogram chart show a measure (sales) against product name.

In order to show the sales as a log scale I have had to set the min value for the y-axis to1 - other It wont let me select log scale.

I have then tried to toggle between log and liner as follows:

  • create a slicer with values log and linear
  • create a measure (scaletype) whose value is blank if the user selects log and 0 if the user selects linear
  • I have added that measure in the value field in my chart. ie both I have both 'sales' and 'scaletype' in the values field

The problem I have is that the scale does not toggle from log to linear even when the scaletype is zero.

I have checked that the scaletype value is correct by dispalying it in a card as well as looking at the chart data as a table.

 

Has anyone come across this problem or have a solution?

 

 

3 Replies