Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
71 | |
57 | |
38 | |
36 |
User | Count |
---|---|
83 | |
67 | |
62 | |
46 | |
45 |