Forum Discussion
DAX Calculation for Measure with multiple filter conditions
- 1 year ago
Hi Gautam,
Thanks for your support.
I have tried the above formula getting below error.
Error - The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.
Regards,
Bhaskar
- 1 year ago
Hi Gautam,
Kudos for your great support and it works now with below formula
Rev CY STD Resi =CALCULATE([RevRaw],MthCal[DateVisCY] = TRUE(),MktServ[CombServCd] = "STD",DeliType[DeliType] = "Resi")I am accepting it as as solution . Many thanks/
bhaskarpbi999 , Try using
DAX
Rev CY STD Resi =
CALCULATE(
[RevRaw],
MthCal[DateVisCY] = TRUE(),
Services = "STD",
Delitype = "Resi"
)
Hi Gautam,
Thanks for your support.
I have tried the above formula getting below error.
Error - The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.
Regards,
Bhaskar
- ajohnso21 year ago
Solution Supplier
You have taken bhanu_gautam suggestion at face value without checking it. You didnt provide the table names for Services or Delitype, you need to fully qualify these.
For example 'TableName'[Services] / 'TableName'[Delitype]
- bhaskarpbi9991 year ago
Helper V
Hi John,
Thanks for your suppor and suggestions and it works now.
Regards,
Bhaslar
- bhaskarpbi9991 year ago
Helper V
Hi Gautam,
Kudos for your great support and it works now with below formula
Rev CY STD Resi =CALCULATE([RevRaw],MthCal[DateVisCY] = TRUE(),MktServ[CombServCd] = "STD",DeliType[DeliType] = "Resi")I am accepting it as as solution . Many thanks/