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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
clim2f88j
Frequent Visitor

Average per month in visual card

Hello everyone,

 

I need to show the data below in a table. There are 4 users (A,B,C,D) that worked cases between January and March.

 

User     January     February     March

A             5               3                 2 

B             4               2                 2

C            5               5                4

D           10              8                4

 

I need to add a column that shows how many cases everyone worked for that month and another colum for how many each user worked that year, like this:

 

User     January     February     March     Total Year

A                    5               3                 2              10

B                    4               2                 2              8

C                    5               5                4               14

D                  10              8                4               22

Total             24              18             12              54

 

And once that's done, then i need a visual card that shows the average per month for all users. So if January is selected then the card should show: 6

 

Power query doesn't let me add totals down a column. I tried to do the List.Sum but it adds across users instead of each month.

 

Thank you for your help!

 

 

1 REPLY 1
amitchandak
Super User
Super User

@clim2f88j , Assume you already have measure for sum , M1

 

Create a measure

m2= averagex(summarize(Fact, Date[Month], Fact[Name]), [M1] )

 

 

You can use isinscope to switch the GT

 

example

if(isinscope(Date[Month]) , [M1] , [M2])

 

Avg of Sum: https://youtu.be/cN8AO3_vmlY?t=22980

How to Switch Subtotal and Grand Total in Power BI | Power BI Tutorials| isinscope: https://youtu.be/smhIPw3OkKA

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.