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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
MiKeZZa
Post Patron
Post Patron

How to model a process

Hi community,

 

I have a process which is stored in this way right now:

 

ClientStartDate Step 1StopDate Step 1Indicator Step 1 reachedStartDate Step 2StopDate Step 2Indicator Step 2 reachedStartDate Step 3StopDate Step 3Indicator Step 3 reachedStartDate Step 4StopDate Step 4Indicator Step 4 reached
1002019-01-062019-01-0812019-01-122019-01-151NULLNULLNULL2019-02-012019-04-021
1202019-01-012019-01-0612019-01-092019-01-1212019-02-012019-04-021NULLNULLNULL

 

As you can see some steps can be empty. My basic question is: how to model this? In the above way or going this way:

 

ClientStepnameStartdateStopdateIndicator reached
ClientStep 12019-01-01....1
..............................

And so on....

 

Or even this way came to my mind:

ClientDateStep
1002019-01-011
1002019-01-021
100........

 

 

To make it a little more complex; there is a second fact-table; this table has information about campaigns that have can be active and can have a complete different period:

ClientIDStartStopProduct category
1002018-12-162019-02-1289
1002019-02-132019-03-1288
1202019-02-012019-02-2273

 

And those facts must be presented in a combination also...

 

I will be able to prepare the data in every shape I'll need (can do it in SQL by example).... Can some people give me an advice about how to handle this. I've been working as BI-developer for many years but this is a hard case....

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@MiKeZZa ,

 

Have you solved your issue by now? If you have, could you please help mark the correct answer to finish the thread? Your contribution will be much appreciated.

 

Regards,

Jimmy Tao

v-yuta-msft
Community Support
Community Support

@MiKeZZa ,

 

The data you provided seems not to be the raw data. To be general, you may use "Unpivot" in query editor. However, if you still can't solve it, please share some raw data and expected result?

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.