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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello team, I want to calculate
the length of the product description of only those products whose product color is NA.
Using ONLY string functions.
Thanks in advance.
Solved! Go to Solution.
Hi, @aditi11
Sample data:
Measure =
CALCULATE (
COUNT ( 'Table'[Product] ),
FILTER ( ALL ( 'Table' ), [ProductColor] = "NA" )
)
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @aditi11
Sample data:
Measure =
CALCULATE (
COUNT ( 'Table'[Product] ),
FILTER ( ALL ( 'Table' ), [ProductColor] = "NA" )
)
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.