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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Newbie coming from Qlik

Hello!! Here I am again. After several months with Qlik, we decided to change to PowerBI and I am a bit newbie.

 

Some answers of a survey we send to our clients are automatically discarded by the system and considered as Irrelevant. I am not able to configure the DAX formule to do it. In Qlik I have:

 

count({$<state = {'Irrelevant'}>} ID_sell) / count(ID_sell)

 

I know I need to study a lot, but coming from another language is hard 😞

1 ACCEPTED SOLUTION
SpartaBI
Community Champion
Community Champion

@Anonymous try:

 

DIVIDE(
CALCULATE(COUNTROWS('Table'), 'Table'[state] =  "Irrelevant"),
CALCULATE(COUNTROWS('Table'), REMOVEFILTERS('Table'[state]))
)

 


2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png


Full-Logo11.png

SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Showcase Report – Contoso By SpartaBI

View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

Hi @Anonymous,

Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.

If these also don't help, please share more detailed information to help us clarify your scenario to test.

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
SpartaBI
Community Champion
Community Champion

@Anonymous try:

 

DIVIDE(
CALCULATE(COUNTROWS('Table'), 'Table'[state] =  "Irrelevant"),
CALCULATE(COUNTROWS('Table'), REMOVEFILTERS('Table'[state]))
)

 


2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png


Full-Logo11.png

SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Showcase Report – Contoso By SpartaBI

SpartaBI
Community Champion
Community Champion

@Anonymous hey friend, do you want to do a quick zoom to show me?

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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