Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
JillianP333
New Member

Dax command for does not start with

Hello- I'm trying to write a measure where I filter first by timesheet tasks, which is working, but then I also want to filter out the client numbers that start with a z.  Any help appreciated.

 

 

JillianP333_0-1613405494475.png

 

1 REPLY 1
Anonymous
Not applicable

[Hours ...] =
CALCULATE(
	[Hours Worked], -- this should be your base measure
	KEEPFILTERS(
		'dw Timesheets'[Taks] in {...},
	),
	KEEPFILTERS(
		-- Are you sure it's called ClientNumber?
		LEFT('dw Clients'[ClientNumber], 1) <> "z" 
	)
)

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.