Forum Discussion
Trend analysis
- 7 years ago
Hi sarath5140 ,
Create a table with unique values of DateTime from table A and Table B. Use this new table to make the relationship between both tables then add this to the x-axis and the count ID from table A and Table B on your chart.
Check PBIX file attach.
Regards,
MFelix
Hi sarath5140 ,
Create a table with unique values of DateTime from table A and Table B. Use this new table to make the relationship between both tables then add this to the x-axis and the count ID from table A and Table B on your chart.
Check PBIX file attach.
Regards,
MFelix
- sarath51407 years agoHelper I
Hi, Thanks for your reply.
I have tried the below query for getting the distinct dates from two tables, but when converting the column datatype to datetime somehow the dates are not matching.
For example, my table A datetime column one value looks like this 2/26/2019 10:10:41 AM
after transforming the datatype to datetime using the below formula
{
Table.TransformColumnTypes(#"Renamed Columns",{{"CreateDate", type datetime}})
now my datetime in the merged table looks like this
2/26/2019 3:40:41 PM
I think it is taking the GMT time after conversion and because of this all the datetime values are not matching and in axis of trend not showing any dates. Could you please help in getting the exact datetime match in my trend