Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
miriambb
Helper I
Helper I

Mark as a data table

Hallo everyone

 

I am trying to mark a table as a data table, but I am getting these errors 

Screenshot 2022-07-14 at 12.08.05.png

Could you help me?

Thank you

Miriam

1 ACCEPTED SOLUTION
tackytechtom
Most Valuable Professional
Most Valuable Professional

Hi @miriambb ,

 

It seems like you are trying to mark a fact table with multiple occurences of the same date as a date table. Instead you should create a separate date dimension with one date per row (without gaps) which then should have a relationship to your received_at column. 

 

Here some links on how to create such a date dimension:

Create date tables in Power BI Desktop - Power BI | Microsoft Docs

How to create a date table in Power BI in 2 simple steps - Kohera

 

Let me know if this helps 🙂

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

View solution in original post

3 REPLIES 3
tackytechtom
Most Valuable Professional
Most Valuable Professional

Hi @miriambb ,

 

It seems like you are trying to mark a fact table with multiple occurences of the same date as a date table. Instead you should create a separate date dimension with one date per row (without gaps) which then should have a relationship to your received_at column. 

 

Here some links on how to create such a date dimension:

Create date tables in Power BI Desktop - Power BI | Microsoft Docs

How to create a date table in Power BI in 2 simple steps - Kohera

 

Let me know if this helps 🙂

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

Hi @Anonymous,

 

thank you for your help!

I did create the table however, the relationship between my table and the new one with only the date is not working...  I am assuming the common fields across both tables is the dates ? also i am assuming there is no need to the table as a date table?

 

Thank you

Miriam

it worked 😄 thank you for your help!

Miriram

Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.