Forum Discussion
Phil88
1 year agoNew Member
Normalize data ranges for Line Chart
Hi all, i have four monetary datasets A B C D on a timeline that range between some thousands to millions and want to bring them together in a single line chart just to see the trends. By default...
- 1 year ago
Hi Phil88 ,
Thanks for sharing the sample file. This helped me to understand my mistake. please modify the measure as below
Linie_A = var min_val = calculate(min(Tabelle[A]),allselected(Tabelle[Datum])) var max_val = calculate(max(Tabelle[A]),allselected(Tabelle[Datum])) var current_val = max(Tabelle[A]) var factor = 100/(max_val - min_val) return (current_val-min_val)*factorPlease refer the last graph .
If this solves, Plz accept as solution
Rupak_bi
1 year agoSuper User
Hi Phil88 ,
Thanks for sharing the sample file. This helped me to understand my mistake. please modify the measure as below
Linie_A =
var min_val = calculate(min(Tabelle[A]),allselected(Tabelle[Datum]))
var max_val = calculate(max(Tabelle[A]),allselected(Tabelle[Datum]))
var current_val = max(Tabelle[A])
var factor = 100/(max_val - min_val)
return
(current_val-min_val)*factorPlease refer the last graph .
If this solves, Plz accept as solution
Phil88
1 year agoNew Member
Thanks, works perfect