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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Qlik Aggr function into Dax

Hi Team,

 

I am looking for equivalent DAX for below qlik expression

 Count(
distinct (If(
Aggr(Count([Tag Number]),[Tag Number],[Asset ID])>1, [Asset ID]
)
)
)

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Try a new measure

 

measure =

var _tab = summarize(Table, Table[Asset ID], [Tag Number],"_cnt" ,count([Tag Number]) >1)
return
count(summarize(_tab, [Tag Number]),[Tag Number])

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Try a new measure

 

measure =

var _tab = summarize(Table, Table[Asset ID], [Tag Number],"_cnt" ,count([Tag Number]) >1)
return
count(summarize(_tab, [Tag Number]),[Tag Number])

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
Anonymous
Not applicable

Hi Amit,
Can you help me to convert below qlik to power bi dax

(Count(DISTINCT if(WildMatch(AGGR(distinct CONCAT(distinct [Group ],','),Progress,Grade,ID),'First'),ID))/Count(DISTINCT{<[Group] = {'First,'NotNotFirst'}>}ID),0)

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.