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
Hi ,
I have a calculate field in the table "ingaggi "with this formula
Thank 's for help and suggestion
Hi, @eagle0473
Ensure that the data source is accessible and properly configured in the online environment. Verify that all necessary relationships between tables are properly defined and available in the online version. Make sure that any calculated columns or measures used in the formula are correctly defined and available in the online dataset.
Try refreshing the dataset in the Power BI service to make sure all the data is up to date. Also make sure that you have the necessary permissions to access all the data sources and tables referenced in the report
How to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @eagle0473 -Can you cross check the data types are consistent and that the relationships are properly defined. your calculated field should work both in Power BI Desktop and when published online.review the data sources configurations and do the data refresh in desktop and try
also you modify the calculation as like below and check
DiffDateWinLost =
VAR MaxCloseDate = CALCULATE(MAX(opportunity[NewActualCloseDate]))
RETURN
IF(
NOT(ISBLANK(MaxCloseDate)) && NOT(ISBLANK(Ingaggi[Created].[Date])),
DATEDIFF(Ingaggi[Created].[Date], MaxCloseDate, DAY),
BLANK()
)
Hope it helps
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Proud to be a Super User! | |
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |