Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
I am trying to calulate a measure to sum the quantity of incidents where the text contains VFF.
The query i am using
Solved! Go to Solution.
Hi There,
DAX doesnt use Operators like SQL, it only recognizes the * as text.
try this:
New VFF = calculate (sum(Query1[QTY]), LEFT(Query1[Categorized_Disposition],3) = "VFF"
Hi @satish_pb ,
We can use the FIND() function to get the list of quantity of incidents where the text contains VFF, please refer to the following DAX query:
Measure =
SUMX (
'Table',
IF (
FIND ( "VFF", 'Table'[Categorized_Disposition], 1, BLANK () ) = BLANK (),
0,
'Table'[QTY]
)
)
The result will like below:
Best Regards,
Teige
Hi @satish_pb ,
We can use the FIND() function to get the list of quantity of incidents where the text contains VFF, please refer to the following DAX query:
Measure =
SUMX (
'Table',
IF (
FIND ( "VFF", 'Table'[Categorized_Disposition], 1, BLANK () ) = BLANK (),
0,
'Table'[QTY]
)
)
The result will like below:
Best Regards,
Teige
Hi There,
DAX doesnt use Operators like SQL, it only recognizes the * as text.
try this:
New VFF = calculate (sum(Query1[QTY]), LEFT(Query1[Categorized_Disposition],3) = "VFF"
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.