The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I created a Calculated column in Power BI with the following code
GeldigTot =
VAR datum =
MINX (
OFFSET (
1,
FctDienstverbandHist,
ORDERBY ( FctDienstverbandHist[MutatieDatum] ),
KEEP,
PARTITIONBY ( FctDienstverbandHist[DienstverbandCode] )
),
FctDienstverbandHist[MutatieDatum] - 1
)
RETURN
IF ( NOT ( ISBLANK ( datum ) ), datum, DATE ( 2999, 12, 31 ) )
then used the calculated column in several measures. in PBI Desktop, everything works fine, but when I Publish it to PBI service, I get the following error:
The query referenced calculated column 'FctDienstverbandHist'[GeldigTot] which does not hold any data because there is an error in its expression.
Activity ID: 6f8e9d3d-1c4e-4df9-8ff7-db74987d495f
Request ID: ad7602c1-27c2-18f0-6384-cc3a4d267e5b
Correlation ID: 3fd9a0f0-14a5-092a-8922-359c6398c3ca
Time: Thu Jan 19 2023 19:07:53 GMT+0100 (Central European Standard Time)
Service version: 13.0.19679.83
Client version: 2212.2.11664-train
Cluster URI: https://wabi-west-europe-e-primary-redirect.analysis.windows.net/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.