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 there,
I have tables in powerbi as follows
Premiums Table
Amount | Report Date | Category |
1200.00 | 31/07/2021 | HAULAGE |
500.00 | 30/06/2021 | TAXI |
2356.00 | 31/07/2021 | VAN |
Claims Table
Amount Paid | Amount OS | Report Date | Category |
0 | 0 | 31/07/2021 | TAXI |
100 | 1000 | 31/07/2021 | HAULAGE |
5000 | 0 | 30/06/2021 | HAULAGE |
Category Table
TAXI |
VAN |
HAULAGE |
The claims and Premium table have a 1 to many relations with the Category table
I have created a new table to obtain unique dates using the follwing DAX
Solved! Go to Solution.
You should create a calendar table with unique consecutive date values covering the range of dates in your model and join in a 1-many relationship with the premium and claims table. You the use the calendar table in your measures, filters, slicers etc...
Proud to be a Super User!
Paul on Linkedin.
HI @MrToast20,
AFAIK, current power bi data model allows to active one major relationships of these relationships will cause a conflict of power bi analysis/aggregations between these records.
Relationships in analysis services tabular models
In addition, I'd like to suggest you take a look at the following link about star schema relationship designs if helps:
Understand star schema and the importance for Power BI - Power BI | Microsoft Docs
Regards,
Xiaoxin Sheng
You should create a calendar table with unique consecutive date values covering the range of dates in your model and join in a 1-many relationship with the premium and claims table. You the use the calendar table in your measures, filters, slicers etc...
Proud to be a Super User!
Paul on Linkedin.
Hey @MrToast20 ,
how does the table look? Are there multiple values?
Why don't you just create a dimensional date table with the CALENDAR function?
Check here how to do that:
https://softcrylic.com/blogs/power-bi-for-beginners-how-to-create-a-date-table-in-power-bi/
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 |
---|---|
105 | |
94 | |
75 | |
63 | |
62 |
User | Count |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |