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

View all the Fabric Data Days sessions on demand. View schedule

Reply
abo85
New Member

Display data for today and also as an average for each day type

Hi,

 

I would like to create a matrix which presents the data for today on one row and on the row below presents the average data for a given type of day. I have a slicer at the top of the page so the user can change the report day.

 

Lets say we sell 3 different items (Item A, Item B, Item C) but on any one day, we only ever sell one item type and the price can change from day to day for the same item. Lets say on this date (10/6/2022) we are selling item B. 

 

I want to present a table that will show the values for the given day (as selected in the slicer) and all of the other Item B sales data for the full year:

 

                                          No of Sales      Cost      Overheads

Today                                     10                 $10       $6.00

Average Item B                       9                  $11       $5.00

 

From the example data set below.

 

DateItem TypeSalesItem CostOverheads
10-JunB22$10.00$6.00
09-JunC18$10.00$5.00
08-JunA11$12.00$6.00
07-JunB21$11.00$5.00
06-JunC19$11.00$3.00
05-JunA11$15.00$7.00
04-JunB20$12.00$4.00
03-JunC20$9.00$2.00
02-JunA9$11.00$6.00
01-JunB24$11.00$5.00
31-MayC27$16.00$5.00
30-MayA13$12.00$6.00

 

 

Can somebody help me do this please? I am relatively new to PowerBi. I was able to do this in Tableau but I'm unsure how to do in PowerBi.

 

 

Thank you

1 REPLY 1
lbendlin
Super User
Super User

That is a standard "filtering up" pattern.  Sometimes you can use REMOVEFILTERS() but in your case you have to do the pointer math yourself.

 

See attached.

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors