Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hey hey fine folk of PBI!
Trying to create a reusable measure of customer sales per region, the issue is that the database does not have the regions setup.
My need is something like this
Count all sales for customers in asia.
Hi @CauseAndEffect,
Try using FIND or SEARCH, You would get something like this:
(Bare in mind, i'm not an expert so this may not work at all but it may give you an idea of how to fix your problem)
Asia_sales =
CALCULATE ( COUNT ( RawDataTable),
FILTER ('RawDataTable',
NOT (
ISBLANK (
FIND ("Indonesia North", [Company location], , BLANK ())))
|| NOT (
ISBLANK (
FIND ("Indonesia South", [Company location], , BLANK ())))
|| NOT (
ISBLANK (
FIND ("Indonesia east", [Company location], , BLANK ()))),
[Total Sales])
Solved it, just created a Calculate using the correct syntax
New Measure ->
Optimally i need to use an unlimied amount of filters since our customer location column has over 2k unique locations.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
12 | |
10 | |
9 | |
9 |