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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Help: how to show only some rows in the report

 

Hi!!

I have a question about how to show only some rows in the report,

 

I have the column Round, that is calculated from the column LC; with this function Round = IF(RIGHT(INT(J2),3)="000",1,0) and work fine.

 

 7.JPG

 

Now, I show in the report, only the values 1 from the column Round; and I want to show only 30 rows, actually i have a lot of rows, and only want show 30 order by quantity.

 

Thanks for your comments,

Monica

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

Hi MonicaElizondo,

 

I have made a mockup as below in which to achieve top3 by quality. You can firstly create a calculate column using DAX like this pattern.

Rank = RANKX(Table1, Table1[Quality], ,ASC ,Dense)

1.PNG 

Then create a measure using DAX like this pattern.

Round = IF(MAX(Table1[Rank]) <= 3, IF(RIGHT(ROUNDDOWN(MAX(Table1[LC]), 0), 3) = "000", 1, 0))

捕获.PNG  

 

Regards,

Jimmy Tao

View solution in original post

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

Hi MonicaElizondo,

 

I have made a mockup as below in which to achieve top3 by quality. You can firstly create a calculate column using DAX like this pattern.

Rank = RANKX(Table1, Table1[Quality], ,ASC ,Dense)

1.PNG 

Then create a measure using DAX like this pattern.

Round = IF(MAX(Table1[Rank]) <= 3, IF(RIGHT(ROUNDDOWN(MAX(Table1[LC]), 0), 3) = "000", 1, 0))

捕获.PNG  

 

Regards,

Jimmy Tao

Anonymous
Not applicable

Hello!!

 

Thanks for the help!!

Anonymous
Not applicable

Hi @Anonymous

 

In the visualization -> Fields Tab -> In visual filter, you can apply filter for 'Round'column.

 

For the TOP 30, in the same pane, select the Product column under visual filter -> In the filter Type-> Select TOP N and give 30 as value.

 

Thanks

Raj

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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