Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
craftbeer
Regular Visitor

Check if Words are different

Hi,

 

I am triying to use EXACT to check if Brands are different or not

I have a big table and i dont know how to check if the manufacturer in each category is unique.

I started with an old formula based on numbers and i think earlier does not belong here.

 

My idea is to check all the manufacturer in each category and give true or false.

column with dax = EXACT(FILTER('Tablename', 'Tablename'[Category] = EARLIER?!(Tablename[Manufacturer])))

error: EXACT needs at least two arguments i guess i need some kind of an array of all the different manufacturer for each category.

CategoryManufacturercolumns with dax
CarBMWtrue
CarVWtrue
CarGMtrue
TruckFordtrue
TruckMANtrue
TruckMercedestrue
Bus

Bus1

false
BusBus1false
BusBus2true
2 REPLIES 2
amitchandak
Super User
Super User

@craftbeer , Try a new column like

 

new column =
var _cnt = countx(filter(Table, [Category] = earlier([Category]) && [Manufacturer] = earlier([Manufacturer])),[Manufacturer])
return
if(_cnt =1, true(), false())

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

thank you @amitchandak 

 

it is working but i didnt understand all of it by now

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.