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!View all the Fabric Data Days sessions on demand. View schedule
Hey! I`m trying to create new measure:
pls try this
Frod_fo = CALCULATE(COUNTROWS('orders'),
FILTER(ALL('orders'), AND('orders'[order_number] = 1, [Frod_all] = TRUE())))
----- or ----Frod_fo = CALCULATE(COUNTROWS('orders'),
FILTER(ALL('orders'), 'orders'[order_number] = 1&& [Frod_all] = TRUE()))
Using a measure in another measure as a filter can be tricky. We need to build the list of order_number that match the criteria [@FrodAll] = TRUE() then use that list as a filter in your CALCUALTE:
Frod_fo =
VAR _List =
FILTER (
ADDCOLUMNS ( VALUES ( 'orders'[order_number] ), "@FrodAll", [Frod_all] ),
[@FrodAll] = TRUE ()
)
RETURN
CALCULATE ( COUNTROWS ( 'orders' ), 'orders'[order_number] = 1, _List )
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!