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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Create calculated table from another table

 

I need to create a table (from the Modelling) based upon the another table to get a filtered result. I have few questions about these calculated DAX tables. 

1. Filtered table or the new table should have 3 columns (Group, no. of reponse, % negative response) - values for only the latest month data from the whole data set

2.  no. of response and % negative response are the Measures in the original table. Is it possible to create table from existing measures?

3. Once the calculated table is created, we need to sort the results and get Top 50% rows from the new table and then Top 5 by sorting the %negative response. 

 

Thanks!

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@Anonymous ,

 

Yes, just try using TOPN and RANKX.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@v-chuncz-msft 

 

Thanks for the reply.

 

Yes, I have to use TOP N and Rank for the same.

 

I have a table T with columns A (grouped by this column) ,B,C

 

1. I need to use TOP N DAX and get the filered table T with the columns A, B, C which is ordered by Descending with column C. 

#_TOP = 
var x = TOPN([#_TOTAL_ROWS], VALUES('Table'[A), [B], DESC) 
RETURN
 IF('Table'[A] IN x, "Y")

But this doesn't work and the Y/N column is empty.

 

2. Once I get the results, I need to rank the result set by Column C and get only Top 5 Rank. 

 

Can you please help?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.