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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.