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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors