Forum Discussion
DAX Measure Error when a column is blank empty data points
Hi Experts
i am trying to sum where the following columns are blank only and either True or false - my conditions are:
1. So PostingDate = blank
2. InvoiceChecked = true (text)
3. InvoiceNumber = blank
the below is returning back blank when i clearly know i have values in [SOOrderValue]
Anonymous It is giving me this result
7 Replies
- Tahreem24Super User
Anonymous You need to add "" while using True as a text.
Checked Finance = CALCULATE(SUM(FACT_NEWBI_NewSalesDashboard[SOOrderValue]),FILTER(FACT_NEWBI_NewSalesDashboard,FACT_NEWBI_NewSalesDashboard[SOPostingDate] = BLANK() && FACT_NEWBI_NewSalesDashboard[InvoiceNumber] = BLANK() && FACT_NEWBI_NewSalesDashboard[InvoiceChecked] = "True"))
- AnonymousNot applicable
Hi Tahreem24, i did try that but getting the following error
- Tahreem24Super User
Anonymous Try using "True()".
Checked Finance = CALCULATE(SUM(FACT_NEWBI_NewSalesDashboard[SOOrderValue]),FILTER(FACT_NEWBI_NewSalesDashboard,FACT_NEWBI_NewSalesDashboard[SOPostingDate] = BLANK() && FACT_NEWBI_NewSalesDashboard[InvoiceNumber] = BLANK() && FACT_NEWBI_NewSalesDashboard[InvoiceChecked] = True()))