Forum Discussion
Need help presenting a comparable Line graph with 4 different lines
- 9 years ago
there is multiples solutions
you could combine the 4 tables by this:
Modeling - New Table
Merged4Books = UNION
(
TOPN(30;Table1;Table1[Date];DESC);TOPN(30;Table2;Table2[Date];DESC);
TOPN(30;Table3;Table3[Date];DESC);
TOPN(30;Table4;Table4[Date];DESC);
)
or alternatively you can add sorted index by date to the source and then join on that so the most current date is 1 the day before 2 and so on
theres other possibibilities but for that I would need to see the data
Null values of what? Is date Null???
The merge should give you 30 rows per table does not matter if some field in rows is blank.
What is the problem? maybe give some screenshot of the Chart or Data???
I can give you a snap shot of the column that I am comparing in the graph.
However, I am comparing Fuel Consumption and for some dates, the values are 'n/a'. The graph is adding up the values instead of leaving it as zer value, see graph
- cs_skit9 years agoResolver IV
still don't get it that graph is strange what do you want to have instead of zero
tell me what you want your result to be
you can use IF ISBLANK
- Freddus9 years agoRegular Visitor
Never mind. Got it to work.
Thanks for the help, I appreciate it.
- v-yulgu-msft9 years agoMicrosoft Employee
Hi Freddus,
Have you achieved the original requirement? If so, would you please kindly mark the corresponding reply as an answer or share your solution so that it can benefit more people?
Regards,
Yuliana Gu