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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
sharpedogs
Advocate II
Advocate II

PowerQ help with potentially splitting columns?

I have two tables and I can't fgure out how to properly build the data model

 

I have Table 1 with all my audit finding details. Find ID is the record for the Find. That find could have multiple issues. As shown in the Control Issue column. I have a second table that provides the explanation of what the Control Issue is. 

 

The Problem i have is that some of the Findings have multiple Control Issues in the same column as per the second finding below. I need a way to split the Control Issue column so that it creates a new ROW for each control issue. The new ROW needs to carry over the other filelds as well. Essentially making two records for Find567. One that alings with Control Issue (TD-BlueCover-R) and one that alings with (TD-Blast). 

 

 

Table 1

Finding ID Control IssueOpen Date
Find345TD-BlastJan 21

Find567

TD-BlueCover-R

TD-Blast

Feb 22

Find998TD-PurpleRainMar 15

 

2 REPLIES 2
CNENFRNL
Community Champion
Community Champion

Hi, @sharpedogs , it's an easy job for PQ. You may want to try this means,

  1. Replace all blank cells with null
    Ctr+click on columns "Finding ID" and "Open Date", then
    Screenshot 2020-10-06 113145.png
  2. use Fill Down to get the job done
    Untitled.png

Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

I had found that split by ROW actually did the trick without having to do any other manipulation. It also copied over the other data points. 

 

thanks for the response. 

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.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.