軟體: Power BI desktop
版本:官網最新版
各位大大們好,小弟是 Power BI 的新手
最近在學習怎麼使用 Power BI 算出兩個時間相差幾天
我查了一下網路資料,有查詢到可以使用 Datediff (date1,date2,interval)
但因為我兩個時間是在不同的 table ( 有做關聯)
我選擇在一個table上新增一個 column
並設定函數為: colum = datediff(table1[date1],table2[date2],day)
但 table2[date2] 一直抓不到另一張表的欄位,只能抓到 table1 的同張表別的時間欄
位
想請教大大我該如何解決這個問題呢?