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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
LD
Frequent Visitor

Help on Power KPI Matrix

Dear All,

 

Please, I'm building a new Table for Power KPI Matrix (Call Table KPI Matrix), and I'm taking the data from another table (Call Table Raw Data).

My problem, now, is to duplicate the Date Rows per Colum Category reported in Table Raw Data, so

 

Start is:

 

Date                    Category

01 Dec 20

02 Dec 20

03 Dec 20

.....

 

Final Result need to be:

 

Date                    Category

01 Dec 20           Cat A

01 Dec 20           Cat B

01 Dec 20           Cat C

01 Dec 20           Cat D

02 Dec 20           Cat A

02 Dec 20           Cat B

03 Dec 20           Cat A

.....

 

Where Cat A, Cat B, Cat C, ... are taken from Table Raw data and Date Column in Table KPI Matrix is linked with Extraction Date colum in Table Raw Data.

 

Thank you in advance,

 

LD

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@LD , Try a new table like

crossjoin(Distinct(Table[Date]),distinct(Table[category]))

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@LD , Try a new table like

crossjoin(Distinct(Table[Date]),distinct(Table[category]))

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors