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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
FelipeF
Frequent Visitor

Combine a date table with another dimension table without a key

Hello,

 

I have two tables, Table A and Table B. Table A combines a dimension and a column of values. Table B is a single column of Week as a name. This name is manually defined periodically in an attached Excel. I then have a slicer for Table B. I'd like to combine Table A and Table B, with a row created for each Week, then Site and Value. In the report I'd like to get the Value dynamically depending on which weeks or groups of weeks I have selected. See below for example. How do you recommend I go about this? I'm not very advanced so any help is appreciated.

 

Table A

Dim1Value
ItemA20
ItemB30
ItemC100

 

Table B

Week
Month1-1
Month1-2
Month1-3
Month1-4
Month2-1
Month2-2

 

Desired Result Table

Dim1ValueWeek
ItemA20Month1-1
ItemA20Month1-2
ItemA20Month1-3
ItemA20Month1-4
ItemB30Month1-1
ItemB30Month1-2
ItemB30Month1-3
ItemB30Month1-4
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

2 REPLIES 2
amitchandak
Super User
Super User

Thank you, I can work with this! Can you please explain the implications of it being a cartesian product?

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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