Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi everybody !
I have the following problem:
I have 2 dimensions (Date and Branch) and a table of facts (Sales).
The Branch dimension is related to my table of facts through the Branch_ID, in addition this table contains "Open Date" and "Closing Date", not all rows have the full date, there are null fields in "open dates" and in many more in "Closing Date" since this information is only for closed branches.
On the other hand, my table of facts is related through a "date" field with my date dimension.
What I need to know is how many branches opened and closed in a given month using the date dimension filter.
I had planned to pass the 2 dates (Open and Closed) to my fact table and then create measurements using USERRELATIONSHIP, but I didn't know what to do with all the rows in null.
What do you recommend I do? How would you solve this problem?
Thanks!
Regards !!
Solved! Go to Solution.
Join the date dimension with both the dates. And then use userelation to choose one. When you using the close date. Add filter to calculate formula to have not(isblank(cloase_date)) filter
Hi @Anonymous ,
How about creating a bridge table to store expand date based on its id? It will help to mapping your records so that you can use bridge table date field to filter on date range based on two date fields and correspond records.
Spread revenue across period based on start and end date, slice and dase this using different dates
Regards,
Xiaoxin Sheng
Hi @Anonymous ,
How about creating a bridge table to store expand date based on its id? It will help to mapping your records so that you can use bridge table date field to filter on date range based on two date fields and correspond records.
Spread revenue across period based on start and end date, slice and dase this using different dates
Regards,
Xiaoxin Sheng
Join the date dimension with both the dates. And then use userelation to choose one. When you using the close date. Add filter to calculate formula to have not(isblank(cloase_date)) filter
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
99 | |
88 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |