Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi there,
Can I create custom groups based on a keyword in a particular field?
For example, here are a few entries in my field:
- $10 cash drop
- 6/19 interest expense
- 6/20 interest expense
- 8/19 DISC
- $15 cash drop
- 4/23 DISC
- Discovery
I want to group all entries that contain the keyword "DISC" but potentially exclude "Discovery."
Thank you,
Alex
Solved! Go to Solution.
maybe something like this could work?
group=
SWITCH (
TRUE (),
AND ( SEARCH ( "Disc", Fieldname ) = 1, SEARCH ( "Discovery", Fieldname ) = 0 ), "Disc",
"NA"
)
Proud to be a Super User!
Hi @aalfa,
You could refer to below formula to create a calculated column:
Grouping = IF(FIND("DISC",'Create grouping'[Column1],1,0)>0,"DISC","N/A")
As FIND function is case sensitive, it will distinguish "DISC" and "Disc", the record containing "Discovery" will be excluded in result.
Regards,
Yuliana Gu
Hi @aalfa,
You could refer to below formula to create a calculated column:
Grouping = IF(FIND("DISC",'Create grouping'[Column1],1,0)>0,"DISC","N/A")
As FIND function is case sensitive, it will distinguish "DISC" and "Disc", the record containing "Discovery" will be excluded in result.
Regards,
Yuliana Gu
maybe something like this could work?
group=
SWITCH (
TRUE (),
AND ( SEARCH ( "Disc", Fieldname ) = 1, SEARCH ( "Discovery", Fieldname ) = 0 ), "Disc",
"NA"
)
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
147 | |
85 | |
66 | |
52 | |
46 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |