Forum Discussion
agd50
Helper V
3 years agoChanging a percentage for chart
I used a measure to create the top line but how can I make the 2021 percentage to equal 3%? With a column and if statement perhaps? I tried an if statement but it was a failure.
agd50 , if that is hardcoded
if(Max(Table[Year]) =2021, 3, 5)
Otherwise we have adjust the %
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
2 Replies
- amitchandak
Super User
agd50 , if that is hardcoded
if(Max(Table[Year]) =2021, 3, 5)
Otherwise we have adjust the %
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.- agd50
Helper V
That worked perfectly thanks (adjusted to if(Max(Table[Year]) =2021, 0.03, 0.05)