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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Translate Qlik Set Analysis into Power BI DAX

Hi Friends,

 

I am an advanced QV developer and looking for a PBI equivalent to QV's set analysis.

We have developed a complex report in Qlik. I'm trying to replacate the same in PBI.

 

Below is the logic for No.of Resolved Tickets as of now.

 

To get the same thing in PBI, I have created a new tabe (Related Table) with 1 column (Deriveddate).

 

Logic in Qlik: 

Count({<Deriveddate={'$(=Date(Max(CalendarMonthName),'MMM YYYY'))'},CalendarMonthName=>}
if(((IsNull(DateResolved) OR LEN(TRIM(DateResolved))<0) and DateClosed = Deriveddate)
or DateResolved = Deriveddate,TaskNumber))

 

Every thing is working fine except 

Count({<Deriveddate={'$(=Date(Max(CalendarMonthName),'MMM YYYY'))'},CalendarMonthName=>}
if(((IsNull(DateResolved) OR LEN(TRIM(DateResolved))<0) and DateClosed = Deriveddate)
or DateResolved = Deriveddate,TaskNumber))

 

In Qlik if you don't specify any value for a Dimension in filters, It will show all the values in the column.

 

Logic Built in PBI:

CALCULATE(COUNT(dim_Task[TaskNumber]),FILTER('dim_Task',(ISBLANK(dim_Task[DateResolved]) && dim_Task[DateClosed]=RELATED('Table'[Column])) || dim_Task[DateResolved]=RELATED('Table'[Column]))) 

 

Can any one please help how to build the same in PBI.

2 REPLIES 2
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Could you please provide a sample in TEXT mode? The .pbix file would be great. Though the Qlik formula is clear, can you make some explanations please?

 

Best Regards!

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi,

 

Sorry for the delay in response.

 

Please find the below PBX file from the below link.

https://1drv.ms/u/s!AjhZlOtq-KU2alO9pHUCTX1ICZM

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.