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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ninjoan
Frequent Visitor

Get 80% from column

Hi guys I am new to Power Bi I have a question how can I get 80% of a column that has the value ANSWERED.

 

Example I have a table with the following columns


DURATION = this column has numeric fields in seconds.
DISPOSITION = this column has ANSWERED OR NOT ANSWERED text fields.

 

I made a Column that takes the data from the DURATION column and looks for and puts the number 1 to the cells that have a duration of less than 20 seconds.

wPassOrFail = IF('Cola'[duration] < 20, 1, 0)

What I would like to do is to take 80% of the data from the Column named DISPOSITION with the value ANSWERED

 

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

Share some data (in a format that can be pasted in an MS Excel file) and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Here is sample 

DISPOSITIONDURATIONwPassOrFail
ANSWERED151
ANSWERED300
ANSWERED51
NOT ANSWERED121
ANSWERED320
NOT ANSWERED201
ANSWERED181

 

You have not shown the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
kaylastarr
Advocate V
Advocate V

Hello, I am not sure I understand your question. Are you looking to take 80% of random rows from the Disposition column? Are you looking to take the top 80% of the column based on a factor?

HI im looking to take 80% of random rows from the DISPOSITION column with the value ANSWERED

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors