Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
I am using a live database connection . Need to calculate inventory difference for present and past months . However the months is not in 'date' datatype and it is causing a problem.
I tried to create a new measure to convert it into date data type but since it is also a measure it is not accepted in quick measures for further calculation.
Please suggest a solution. Thanks in advance.
Hey @Singh_p ,
can you give more details about the data source.
If it's a live connection it means you connect to a Power BI Dataset or an Analysis Services Tabular model. Or do you mean direct query, what is querying a relational database during runtime?
Or do you mean the new composite model, what is in preview and allows a direct query of Azure AS and Power BI datasets?
But live database connection is not precise enough, because with all different modes a lot of things differ.
Thank you and best regards
Denis
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 30 | |
| 19 | |
| 12 | |
| 11 |