Forum Discussion
Kolumam
Post Prodigy
8 years agoCalculating the difference in energy readings using difference in dates
Hi All, I have 3 columns. I wanna find the difference between the last and the first readings of "total_energy_generated_till" based on the timestamp of a day and based on the inverter ID. How do...
Kolumam
Post Prodigy
8 years agoYes that's right. It is from SQL. I just imported the VIEW from SQL to Power BI. Since I am not good at SQL, I thought of implementing in Power BI. Could you help me ?
Phil_Seamark
Microsoft Employee
8 years agoHI Kolumam
You can do it easily in Power BI if you weren't using Direct Query.
I can help with the T-SQL required to generate a view. Do you have a screenshot of the SQL Table? (Just the column names)
- Kolumam8 years ago
Post Prodigy