Posted on:

18 Mar 2023

3

use IN {} instead of repeated dax lines

If having the same code to many items, we can use IN {} instead of repeated dax lines:

IF(dim_SalesTeritory[SalesTerritoryRegion] IN {"Northwest", "Northeast", "Central", "Southwest", "Southeast"}, 6, BLANK()

0 answers ( 0 marked as helpful)

Submit an answer