We're giving away 30 tickets for FREE! Share your story, your vision, or your hustle and tell us why YOU deserve a ticket.
Apply nowWin a FREE 3 Day Ticket to FabCon Vienna. Apply now
Hello! Need your help 🙂
How do I write this sql expression:
LIKE "__1__" in DAX?
I'd Use MID(3,1) = 1, but I need exact two any characters after "1" as well and mid works from the left only?
Thanks for help!
Solved! Go to Solution.
Hi @siyuri ,
I would do the following:
So in DAX, I'd use this formula
=
VAR PositionOf1 =
FIND ( "1", 'Table'[Column], 1, BLANK () )
RETURN
MID ( 'Table'[Column], PositionOf1 - 2, 5 )
Hi @siyuri ,
I would do the following:
So in DAX, I'd use this formula
=
VAR PositionOf1 =
FIND ( "1", 'Table'[Column], 1, BLANK () )
RETURN
MID ( 'Table'[Column], PositionOf1 - 2, 5 )
wow...so there is really no straight forward way... Thank you for this solution!
User | Count |
---|---|
67 | |
61 | |
47 | |
35 | |
32 |
User | Count |
---|---|
87 | |
72 | |
57 | |
51 | |
45 |