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
Su1b
Regular Visitor

Top N Filter

Su1b_1-1685202633321.png

 

Let me know if you need any further clarification.

6 REPLIES 6
Ashish_Mathur
Super User
Super User

Hi,

Share some data to work with and show the expected result.


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

Su1b_0-1685257311973.png

Hi @Ashish_Mathur, Above is the example on how we need that. 

Hi,

Drag question to the row labels and write this measure

Correct count = calculate(countrows(Data),Data[Response]="Correct")

Now filter on Top 5. (in the filter pane)


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

Hi @Ashish_Mathur , 

 

The output after applying TOP 5 filter from filter pane and the DAX above worked and gave me the first output Thanks. But instead of 5 i am getting many values as 0/p. Need to get any 5 random questions as shown in the output below. If the questions are more than 5 and repeating the same time as shown below(need to get any random 5 only out of those). 

Su1b_0-1685344307809.png

 

Thanks,

 

Hi,

I do not know how to get 5 random values.


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

Hi @Ashish_Mathur , any idea on that request above 😊

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