The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
I am trying to create a DAX to filter a column of Stock Numbers. The Stock Numbers in the column are in a format
"Wg No : 61034599"
All i am after is the 61034599 - am i best to filter by a delimiter or by another function? So far i have been unable to create a DAX that will present just the 61034599
Is someone able to suggest a suitable DAX?
Thanks in Advance!
Solved! Go to Solution.
Hi @JamesGordon
try a column
Column = MID([Stock Numbers],SEARCH(":",[Stock Numbers])+2,LEN([Stock Numbers])-SEARCH(":",[Stock Numbers]))
@JamesGordon You can equally write a measure using the CONTAINSTRING Function.
For Example,
Hi @JamesGordon
try a column
Column = MID([Stock Numbers],SEARCH(":",[Stock Numbers])+2,LEN([Stock Numbers])-SEARCH(":",[Stock Numbers]))
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
10 | |
10 | |
10 | |
9 |