Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi!
I am reporting on the number of devices per tenant over time. I want to add a third column to the matrix below, showing the the difference between the number of devices per tenant between today and the same date last week. I download data to the report once a week.
I have created a matrix in Power BI with the following data:
Rows: Tenant
Columns: Date
Values: Devices (count)
This is how far I have come (filtered on Top N = 2 latests dates). Can anyone help me adding a new column to this matrix with the difference/delta between the columns below?
Solved! Go to Solution.
Hello:
Assuming you have measure to Count the devices like Total Devices = SUM(Table[Devices])
You can use DATEADD to get the figure from 7 days ago when you are looking at a particular date.
Sorry then
subtract the two.
Difference = [Total Devices] - [Devices 1 week ago] (the DATEADD measure I just mentioned)
Hi again!
A follow-up on this one. I used this function to calculate the number of devices a week ago:
Hi Ali-S:
When I look at the 94 as one week ago for 4-05-2021 , the week before looks like 3-30-2021 which is 94?
I think if you sort your weeks it will look better.
Just want to ask if the Tenant column is from your Date Table? The Data table would be marked as such and has a relationship with your fact table.
If you want to provide example file I'm happy to check it out from that perspective.
Thanks a bunch! It worked 😄
Your welcome. Great!
Hello:
Assuming you have measure to Count the devices like Total Devices = SUM(Table[Devices])
You can use DATEADD to get the figure from 7 days ago when you are looking at a particular date.
Sorry then
subtract the two.
Difference = [Total Devices] - [Devices 1 week ago] (the DATEADD measure I just mentioned)
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
6 | |
3 | |
3 | |
3 |
User | Count |
---|---|
11 | |
9 | |
8 | |
8 | |
7 |