Join 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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
I have a measure called [no of deliveries] which I normally use with my date table ‘Dim-OutboundDate’
I need to use this measure with my other date table ‘Dim-Date’, and the outcome should be the same.
No matter what I try though, the outcome is different when I group it by week in the visual.
This is the new measure I’m trying to create:
CALCULATE(
[no of deliveries],
TREATAS(
VALUES(
'Dim - Date'[ID_Date]
),
‘Dim-OutboundDate’ [ID_Date]
))
Below is my data model (one to many) and I am restricted to do any physical changes with the relationships, so I need to solve this with a measure.
Many thanks!
Solved! Go to Solution.
Try
My Measure =
CALCULATE (
[no of deliveries],
TREATAS ( VALUES ( 'Dim - Date'[ID_Date] ), 'Dim-OutboundDate'[ID_Date] ),
REMOVEFILTERS ( 'Dim - Date' )
)
Try
My Measure =
CALCULATE (
[no of deliveries],
TREATAS ( VALUES ( 'Dim - Date'[ID_Date] ), 'Dim-OutboundDate'[ID_Date] ),
REMOVEFILTERS ( 'Dim - Date' )
)
It worked! I am really impressed by you sir!
Many thanks!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 19 | |
| 13 | |
| 10 |