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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Summarize Table

Good Morning 

 

I am currently building a dashboard, and ive stumbled across an issue. Ive created a Summarize table with the following DAX

 

Weekly Attendance = SUMMARIZE('BSCA Attendance','BSCA Student Data'[Adno],'BSCA Calendar'[Academic Year],'BSCA Calendar'[Week Num],"Weekly Present",SUM('BSCA Attendance'[Present & AEA]),"Weekly Possible",SUM('BSCA Attendance'[Possible]))

 

within this table im then working out the percentage attendance and for those adno (ID) that are 100% for the week are given a pt of 25. This is all working fine, the issue ive got is that I need to filter this table using the BSCA Calender columns and this isnt working. Is there any way I can do this. I cant use the attendance table as the marks are split up 2 sessions per day. I have done some other IF dax but this made the dashboard two slow to run

4 REPLIES 4
AllisonKennedy
Super User
Super User

@Anonymous  

 

I am not sure you need a summarize table here, can this be done within a table visual? How are all these tables connected in the data model? That part is key to success everywhere else.

I am on my phone so won't give a long answer, but if you wanted to explain in more detail.why daxer thinks this should be a measure, hopefully the below post helps. 

Power BI Order of Operations 

 

Daxer I would love direct links to the articles you mention, not just the home page which isn't very helpful for newbies.

 

 


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

@AllisonKennedy 

 

It's not difficult to find this article... Suffices to type in 'SUMMARIZE' in your favorite search engine. But... here it is:

 

All the secrets of SUMMARIZE - SQLBI

Greg_Deckler
Super User
Super User

@Anonymous Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler.

 

You remember the thread about newbies? 🙂 Frequent Visitor... I'll be reminding you of them for a while so that you get the scale of what I was talking about. And I strongly hope you already know why you should never use SUMMARIZE to do any calculations in it. If not, then I'd recommend going to www.sqlbi.com and finding the article by Marco that treats this topic in depth.

 

And yes, I know it's not a measure we're talking about here. Nevertheless... However, it's kind of clear from the description that the asker is after a measure since he believed he could filter this table dynamically by dates.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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