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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
HZAFAR
Regular Visitor

build Relationship Problem

Dear Team,

I have three different data-sheet in Power Bi and trying to build a relationship based on the date dimension table but facing the below error.
scenario
When I use each table wk# to create a visual in PBI, the data spread is correct for each data sheet week on week basis.
However, when I create many to many relationships (suggested by Power query automatically and without any other option), the table visual or line chart shows the total quantity only each week instead of each week's quantity. Kindly see below some sample data tables.

HZAFAR_0-1659132299193.png

 

HZAFAR_1-1659132891149.png

 

2 REPLIES 2
AUDISU
Resolver III
Resolver III

Hi @HZAFAR ,

Create a calender table. Build all relationships with this calender table and check.

Use following DAX code to create calender table.

Calender = CALENDAR (DATE (2022, 1, 1), DATE (2023, 12, 31))

 

Thank you.

This is not working.

 

secondly i need to create week number and DAX function is not giving me the correct wek day as complared to excel based formula (=ISOWEEKNUM(Date)

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.