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
Phil88
1 year agoNew Member
Thank you but unfortunately that measure didn't come out as expected, see sample file:
https://drive.google.com/file/d/1V0veiEvRafamszY5CYunGokksV-FcTS7/view?usp=sharing
Rupak_bi
Super User
1 year agoHi 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
- Phil881 year agoNew Member
Thanks, works perfect