cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Shaglok
Frequent Visitor

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

@Shaglok 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 @Shaglok,

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

@Shaglok 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

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

Helpful resources

Announcements
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Show Episode 10 Recap

The Power BI Community Show

Watch the playback when Amit Chandak, a Power BI Super User, demos how to use Field Parameters to make reports more dynamic.

Power BI Dev Camp Session 26

New Date - Check it Out!

Mark your calendars and join us on Thursday, October 6 at 11a PDT for a great session with Ted Pattison!

Health and Life Sciences Power BI User Group

Health and Life Sciences Power BI User Group

Power BI specialists at Microsoft have created a community user group where customers in the provider, payor, pharma, health solutions, and life science industries can collaborate.

Top Solution Authors
Top Kudoed Authors