cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors