cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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 II
Resolver II

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors