This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi All,
For the following table below, how should I write in dax for making grand total become false, if they contain false. such as Accessories contains false and I want the grand total becoming false.
Solved! Go to Solution.
Hi @Anonymous
Please try to adjust the measure as follows
NewMeasure =
VAR T1 =
ADDCOLUMNS (
VALUES ( ProductCategory[ProductCategoryName] ),
"@Flag",
CALCULATE (
IF ( SUM ( InternetSales_USD[SalesAmoun_USD] ) > 200000, TRUE (), FALSE () )
)
)
VAR T2 =
SELECTCOLUMNS ( T1, "@@Flag", [@Flag] )
RETURN
IF ( FALSE () IN T2, FALSE (), TRUE () )
Hi,
I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
It is for creating a measure.
True or false measure: =
VAR _newtable =
ADDCOLUMNS (
SUMMARIZE ( InternetSales, Category[Category], 'Year'[Year] ),
"@condition",
IF (
CALCULATE ( SUM ( InternetSales[SalesAmount] ) ) > 200000,
TRUE (),
FALSE ()
)
)
RETURN
IF (
COUNTROWS ( FILTER ( _newtable, [@condition] = FALSE () ) ) >= 1,
FALSE (),
TRUE ()
)
Hi,
I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
It is for creating a measure.
True or false measure: =
VAR _newtable =
ADDCOLUMNS (
SUMMARIZE ( InternetSales, Category[Category], 'Year'[Year] ),
"@condition",
IF (
CALCULATE ( SUM ( InternetSales[SalesAmount] ) ) > 200000,
TRUE (),
FALSE ()
)
)
RETURN
IF (
COUNTROWS ( FILTER ( _newtable, [@condition] = FALSE () ) ) >= 1,
FALSE (),
TRUE ()
)
Hi @Anonymous
Please try to adjust the measure as follows
NewMeasure =
VAR T1 =
ADDCOLUMNS (
VALUES ( ProductCategory[ProductCategoryName] ),
"@Flag",
CALCULATE (
IF ( SUM ( InternetSales_USD[SalesAmoun_USD] ) > 200000, TRUE (), FALSE () )
)
)
VAR T2 =
SELECTCOLUMNS ( T1, "@@Flag", [@Flag] )
RETURN
IF ( FALSE () IN T2, FALSE (), TRUE () )
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |