Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Solved! Go to Solution.
Hi @LMcQ ,
Please update the formula of calculated column [AffectedStockroom] as below and check if it can return your expected result... Please find the details in the attachment.
AffectedStockroom =
VAR _loc =
CALCULATE (
MAX ( 'Locations'[Location Name] ),
FILTER (
'Locations',
IFERROR (
SEARCH ( 'HistoryExtracts'[Description], 'Locations'[Location Name], 1, 0 ),
0
) > 0
&& 'Locations'[Site Category] = "E"
)
)
RETURN
IF (
HistoryExtracts[Type] = "Stockroom Update"
&& NOT ( ISBLANK ( _loc ) ),
_loc,
"Not Found"
)
Best Regards
Thank you so much... I've spent days trying to figure it out on my own... Fantastic!!! Sorting and filtering have always been a weak spot for me
Hi @LMcQ ,
Please update the formula of calculated column [AffectedStockroom] as below and check if it can return your expected result... Please find the details in the attachment.
AffectedStockroom =
VAR _loc =
CALCULATE (
MAX ( 'Locations'[Location Name] ),
FILTER (
'Locations',
IFERROR (
SEARCH ( 'HistoryExtracts'[Description], 'Locations'[Location Name], 1, 0 ),
0
) > 0
&& 'Locations'[Site Category] = "E"
)
)
RETURN
IF (
HistoryExtracts[Type] = "Stockroom Update"
&& NOT ( ISBLANK ( _loc ) ),
_loc,
"Not Found"
)
Best Regards
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
8 | |
7 | |
3 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |