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
asad_brohi
Frequent Visitor

Creating a dynamic group based on real time calculation in Power BI

Hello,

 

I am trying to create a dynamic group for a sample dataset that has 2 columns i.e. "student name" and a measure "percentage %". We assume that the percentage is a measure whose values recalculate based on student's grades every month.

 

I want to create a group based on this table below in powerbi, where I can display the percentages of top 10 students and can show an average of percentage for rest of the students.

 

In summary, I am trying to create a dynamic group of top10students and others in powerbi, is this possible? I can move the top 10 students manually in a group but it wont work if the top 10 is dynamic and changes every month. I have reveiwed documentation and blogs but can't figure out. Kindly help.

 

asad_brohi_0-1696966478912.png

 

Thanks.

5 REPLIES 5
parry2k
Super User
Super User

@asad_brohi no idea what you are referring too? Your reply is not very clear and not sure what you are trying to say.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

parry2k
Super User
Super User

@asad_brohi let me tell you, doesn't matter how many tables you have, if your model doesn't have a date/calendar table (dimension) then there is something fundamentally wrong and not following the best practice. Full stop. Now choice is yours. Good luck!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Actually I already have those tables in my model, I am not sure how the dates and grouping concept connect. I believe expanding the data model with many smaller dimension tables 1 for every visual isnt the best approach. I was looking how "Group" would work in this case. I hope anyone else might be more knowlegeable with this concept. Thanks anyway. 

parry2k
Super User
Super User

@asad_brohi There are many blogs around this, check this one and tweak it as you see fit. 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

This blog asks to create a new table and relationship along with DAX measures, I already have too many tables in my data model. I need this grouping for 1 visual only (using grouping if possible), need a bit simpler solution.

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.