cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Saala Frequent Visitor
Frequent Visitor

Group in Matrix Visual

Good morning,

 

I made a Matrix Visual that should show per day, per ressource the times where the ressources (lets call them people ^^)  come and go.

My Problem ist, that they come and go a couple of times per day (lunchbreak for example) and the visual always groups per Date.

 

I would like something like this:

DateRessourceNrBeginningEnd
01.01.2019108:0012:00
  13:0017:00
 208:0012:00
  13:0017:00
02.01.2019108:0012:00
  13:0017:00
 208:0012:00
  13:0017:00

 

 

and what I get is more like:

DateRessourceNrBeginningEnd
01.01.2019108:0012:00
 208:0012:00
02.01.2019108:0012:00
 208:00

12:00

 

If anybody could help me, it would be much appreciated.

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-lid-msft New Contributor
New Contributor

Re: Group in Matrix Visual

Hi @Saala ,

 

we can create a index column depends on the date and resource to meet your requirement.

 

Index =
VAR d = [Date]
VAR nr = [RessourceNr]
RETURN
    RANKX (
        (
            FILTER ( 'Test', AND ( 'Test'[Date] = d, 'Test'[RessourceNr] = nr ) )
        ),
        [Beginning],
        ,
        ASC
    )

5.PNG6.PNG

 

You can use other unique column to archive same goal.

 

BTW, pbix as attached.

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

5 REPLIES 5
amitchandak New Contributor
New Contributor

Re: Group in Matrix Visual

You do not want data for the period -

 13:0017:00

 

Then you can use the visual level filter. Or you want to group some data from the above period with 8:00 -12:00 Data period?

Saala Frequent Visitor
Frequent Visitor

Re: Group in Matrix Visual

I want all the data. So if I have multiple Beginnings and Ending I want to see them all, but they always seem to group per Date/Ressource

v-lid-msft New Contributor
New Contributor

Re: Group in Matrix Visual

Hi @Saala ,

 

we can create a index column depends on the date and resource to meet your requirement.

 

Index =
VAR d = [Date]
VAR nr = [RessourceNr]
RETURN
    RANKX (
        (
            FILTER ( 'Test', AND ( 'Test'[Date] = d, 'Test'[RessourceNr] = nr ) )
        ),
        [Beginning],
        ,
        ASC
    )

5.PNG6.PNG

 

You can use other unique column to archive same goal.

 

BTW, pbix as attached.

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Saala Frequent Visitor
Frequent Visitor

Re: Group in Matrix Visual

Thank you very much, I just have one more Problem. The Matrix only shows me the first Value that I put in Row (sorry its all german).

I worked with a Matrix before and it worked perfectly and now Ic ant seem to find an Option or the source for the Problem.

 

Unbenannt.PNGUnbenannt2.PNG

v-lid-msft New Contributor
New Contributor

Re: Group in Matrix Visual

Hi @Saala ,

 

I am sorry for my unclear answer, you can use the expand button to get the full table.

 

15.PNG

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Community Highlights

Community Highlights

Find out what's new in the Power BI Community!

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 291 members 3,278 guests
Please welcome our newest community members: