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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
NB3
Helper III
Helper III

Split multiple rows and columns

Hi everyone,

 

I need to create 2 different charts based on the following table (on with the year and one with YTD).

 

In the document it is from, year and YTD are mixed together ... Is there any way I can have a table with the year and another with YTD (and the dept, associated year and value attached to it) ?

 

And, if someone makes changes in the original document, is it going to refresh afterwards when neeeded ?

 

Thanks for the help,

 

 

Capture.PNG

 

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@NB3

 

I will create two tables for this. Please check if this can meet your requirements. Thanks

 

c1.JPG

 

TABLE2 = FILTER('Sheet27',SEARCH("YTD",'Sheet27'[Year],1,0)=0)

 

c2.JPG

TABLE3 = FILTER('Sheet27',SEARCH("YTD",'Sheet27'[Year],1,0)>0)

 

c3.JPG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

5 REPLIES 5
ryan_mayu
Super User
Super User

@NB3

 

I will create two tables for this. Please check if this can meet your requirements. Thanks

 

c1.JPG

 

TABLE2 = FILTER('Sheet27',SEARCH("YTD",'Sheet27'[Year],1,0)=0)

 

c2.JPG

TABLE3 = FILTER('Sheet27',SEARCH("YTD",'Sheet27'[Year],1,0)>0)

 

c3.JPG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




@ryan_mayu

 

That's exactly what I need

 

Though I get this message when I try to split in 2 different tables :

 

Capture2.PNG

 

Any idea why ?

 

Thanks a lot,

@NB3 

 

Are you creating a new table or new measure? This coding has to be used when you creating  a new table.

 

Thanks





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




@ryan_mayu

 

It worked after I created a new table,

 

Thanks a lot !

Anonymous
Not applicable

Hi @NB3,

 

I think you are use these formula in calculated column, right? if this is a case, ryan_mayu's formula are calculated table formulas, please click on 'new table' icon to create new table to use his formulas.

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors