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.
Hi,
I am having a Dax requirement as shown below.
| Supplier | Date | Region |
| Amul | 02-08-2022 | BE |
| Amul | 02-08-2022 | N.A |
| LGL | 02-08-2022 | DE |
| LGL | 02-08-2022 | DE |
| Air | 02-08-2022 | AN |
| Amul | 02-08-2022 | N.A |
| Hitachi | 02-08-2022 | MN |
| Amul | 02-08-2022 | BE |
| Telecom | 02-08-2022 | N.A |
| Intel | 02-08-2022 | LK |
| Amul | 02-08-2022 | N.A |
| Intel | 02-08-2022 | N.A |
| Intel | 02-08-2022 | N.A |
| Air | 02-08-2022 | AN |
| Amul | 02-08-2022 | N.A |
| LGL | 02-08-2022 | N.A |
| Air | 02-08-2022 | N.A |
I have few N.A values in Region Columns.i Want to replace these Na with the value in supplier column which has aregion value
Example, if Supplier 'Amul' is Shown as BE region, all amul with N.a should be replaced with BE.
Each supplier will either have only one region or N.a and some regions will have N.a alone which can be left as such.
Hope this is clear.
Thanks in advancefor your help.
Solved! Go to Solution.
@Anonymous1993
Please use
Region 1 =
IF (
Suppliers[Region] = "N.A",
COALESCE(
MAXX (
FILTER (
CALCULATETABLE (
Suppliers,
ALLEXCEPT ( Suppliers, Suppliers[Supplier] )
),
Suppliers[Region] <> "N.A"
),
Suppliers[Region]
),
"N.A"
),
Suppliers[Region]
)Hi @Anonymous1993
Please use
Region 1 =
IF (
Suppliers[Region] = "N.A",
MAXX (
FILTER (
CALCULATETABLE (
Suppliers,
ALLEXCEPT ( Suppliers, Suppliers[Supplier] )
),
Suppliers[Region] <> "N.A"
),
Suppliers[Region]
),
Suppliers[Region]
)Can i know why Telecom is returning blank if no other value is there, it should return N.a itself. could you help on that?
@Anonymous1993
Please use
Region 1 =
IF (
Suppliers[Region] = "N.A",
COALESCE(
MAXX (
FILTER (
CALCULATETABLE (
Suppliers,
ALLEXCEPT ( Suppliers, Suppliers[Supplier] )
),
Suppliers[Region] <> "N.A"
),
Suppliers[Region]
),
"N.A"
),
Suppliers[Region]
)Check out the November 2025 Fabric update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!