This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
Solved! Go to Solution.
As the error message said, in CALCULATE() function, the second parameter can be a True/False expression. You need to put a filted table context. So your formula should be like:
NCS =
CALCULATE (
SUM ( 'GA-Adwords Table'[Ad Spend (EUR)] ),
FILTER ( 'GA-Adwords Table', [ROAS] < 1 )
)
Regards,
I have this error:
"RUBRO_C16",IF(VALOR_SALUD_COL_IND[COD RAMO CONT FINAL] IN {"045","034"},CALCULATE(SUM(VALOR_SALUD_COL_IND[VALOR_CALCULADO]),
FILTER(VALOR_SALUD_COL_IND,VALOR_SALUD_COL_IND[COD RUBRO FINAL] = "C16" )),
CALCULATE((SUM(VALOR_SALUD_COL_IND[VALOR_CALCULADO])),
FILTER(VALOR_SALUD_COL_IND,VALOR_SALUD_COL_IND[COD RUBRO FINAL] = "C16" ))),
The True/False expression does not specify a column. Each True/False expressions used as a table filter expression must refer to exactly one column.
As the error message said, in CALCULATE() function, the second parameter can be a True/False expression. You need to put a filted table context. So your formula should be like:
NCS =
CALCULATE (
SUM ( 'GA-Adwords Table'[Ad Spend (EUR)] ),
FILTER ( 'GA-Adwords Table', [ROAS] < 1 )
)
Regards,
This solved my problem! thank you kindly!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 25 | |
| 20 | |
| 20 | |
| 20 | |
| 20 |