Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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 () )
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 18 | |
| 12 | |
| 11 |