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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello everyone!
I have several related tables and want to calculate a measure to show value in all fields that are in the parent matrix (General Report) even if that value is not in other related tables. (image 1)
the value I underline below in yellow is not in the other tables. (image 2)
So when I apply this formula, it disappears. (image 3) I copy the formula:
Coste final estimado =
var _lastdate = CALCULATE(MAX('AFO & SAP BW_Situación Económica IS'[DataKey]),ALL('AFO & SAP BW_Situación Económica IS'))
var _lastdate2 = CALCULATE(MAX('AFO & SAP BW_Presupuestación y Planificación IS'[DataKey]),ALL('AFO & SAP BW_Presupuestación Y Planificación IS'))
return
IF(calculate(sum('AFO & SAP BW_Situación Económica IS'[Coste final estimado SE]),'AFO & SAP BW_Situación Económica IS'[Grupo SE]="TOTAL",'AFO & SAP BW_Situación Económica IS'[DataKey]= _lastdate)=BLANK(),calculate(sum('AFO & SAP BW_Presupuestación Y Planificación IS'[Coste final estimado PP]),'AFO & SAP BW_Presupuestación Y Planificación IS'[DataKey]= _lastdate2),calculate(sum('AFO & SAP BW_Situación Económica IS'[Coste final estimado SE]),'AFO & SAP BW_Situación Económica IS'[Grupo SE]="TOTAL" ,'AFO & SAP BW_Situación Económica IS'[DataKey]= _lastdate))
For the ADI-XXX value that is not in the other related tables, I need to assign you a value from your "AFO_Informe General" table. How do I do that?
I hope I explained myself. Thank you.
Hi @Syndicate_Admin ,
Would you please show us sample pbix file.?Your screenshot is too fuzzy. I can't get understanding your formula.
Best Regards,
Dedmon Dai
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!