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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hey there! I'm diving into DAX and trying to visualize the sales for the last 6 months. I've got this Date_Master table and made a copy named temp_date_master.. The relationship between the Date_Master and Temp_Date_Master was many-to-one. (The video explaining the process ). I have done the following measure
Last_6_Months_Sales =
var referenceDate = Max('Date Master'[Date])
var referenceDate1 = EOMONTH(referenceDate, -1)
var previousDates =
DATESINPERIOD('Temp_Date_Master'[Date],
referenceDate1 ,
-6,
MONTH
)
VAR Result =
CALCULATE(
[Sales Value],
REMOVEFILTERS('Date Master'),
KEEPFILTERS(previousDates),
USERELATIONSHIP('Date Master'[Date], 'Temp_Date_Master'[Date]))
Return
Result
I wanted to convert the relationship between the date_master and temp_date_master to be one-to-many relationship (I am trying it as im losing hierarchy of 'Date Master'[Date] as the column is the "many" side of a model relationship). How to solve this issue?
Solved! Go to Solution.
@Anonymous
If you madea copy of Date_Master and created Temp_Date_Master then the relationship should be one-to one. Not sure why you try to chage it to one-to-many
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Anonymous
If you madea copy of Date_Master and created Temp_Date_Master then the relationship should be one-to one. Not sure why you try to chage it to one-to-many
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Fowmy Thanks for your suggestion. I have made the relationship one-to-one bidirectional and its working fine.
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 |
---|---|
12 | |
11 | |
10 | |
9 | |
8 |