Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I am analyzing sales proposals vs a target. I have two date columns. One that shows the anticipated contract month, the other is the expected budget month. I am trying to chart the difference between the two with the contract value amount and the project name. I have been attempting to do scatter plots and bar charts and can not figure out how to visually show this relationship. Any help would be appreciated.
Hi @BIuser0424
You can create a date table
e.g
Date =
ADDCOLUMNS (
CALENDAR (DATE (2020, 1, 1), DATE (2022, 12, 31)),
"Year", YEAR([Date]),
"MonthNumber", MONTH([Date]),
"Quarter", QUARTER([Date]),
"DayOfWeek", WEEKDAY([Date])
)
Then create relationship between the date table and data table
e.g one-many:[Date]->[ anticipated contract month] one-many:[Date]->[expected budget month]
If one of these two relationships is inactive, the USERELATIONSHIP() function can be used
e.g
CALCULATE(....,USERELATIONSHIP([expected budget month],[Date]))
You can refer to the folloiwng link about the relationship and USERELATIONSHIP() function
USERELATIONSHIP function (DAX) - DAX | Microsoft Learn
Active vs inactive relationship guidance - Power BI | Microsoft Learn
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 55 | |
| 40 | |
| 35 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 71 | |
| 70 | |
| 38 | |
| 35 | |
| 23 |