Forum Discussion

AntoineMICK's avatar
AntoineMICK
Regular Visitor
4 years ago
Solved

Look up data filed based on a other column

Hi,

 

I am a newbi on Power BI, I want to make a KPI of Report of Tasks grouped by Report status and showed by Group;

 

The visualisation that I want to use is Histogram.

 

I have 2 lists.

 

First one, concern the GroupeName

 

GroupeIDGroupeName
349Assurance Fournisseur
353GP Ordonnancement PS
343GP Ordonnancement U
348Ilot U
346Laboratoire Qualité
553Maintenance PU
344

Maintenance S

 

 

The econd one, concern the Tasks :

 

ReportIdReportStatusGroupeID
1Completed349
2In progress353
3Completed343
4Completed348
5In progress346
6Completed553
7Completed344
8Completed349
9In progress353
10Completed343
11Completed348
12In progress346
13Completed553
14In progress344

 

 

In x-axis, i put GroupeID

In Legend I put ReportStatus

In Values, I put Number of ReportID

 

The following image, is the result of my KPI :

 

 

But I want to make a report like the following image :

 

 

 

I want to show GroupNames of the other list... bu I dont know how to proceed.. Have you got any idea or tips for me ? Please

I think I have to make a Look UP value of GroupID columns or to create a new column with a lookup... I am o confudes..

 

Need your help, please..

 

Thanks in advance,

 

Regards,

 

Antoine MICK

  • Hello,

     

    Thanks bcdobbs , Your PBIX file helped me to find a Issu for my problem !

     

    I use detect relations, I delete a relation and added manually a relation between my two culomns or a new ID and thats it run as well !!

     

    Regards,

     

    Antoine MICK

4 Replies

  • bcdobbs's avatar
    bcdobbs
    Icon for Community Champion rankCommunity Champion

    If you create a relationship between group id's on the two tables you should be able to drop the group name straight in. Will mock a demo up later this evening and send a link.

  • bcdobbs's avatar
    bcdobbs
    Icon for Community Champion rankCommunity Champion

    Have a look at: Example File 

     

    There is a one to many relationship between Groupe and Task.

     

    I've used the stacked bar visual and put the following in the properties:

     

    Hope this meets your needs.

    • AntoineMICK's avatar
      AntoineMICK
      Regular Visitor

      Hello,

       

      Thanks bcdobbs , Your PBIX file helped me to find a Issu for my problem !

       

      I use detect relations, I delete a relation and added manually a relation between my two culomns or a new ID and thats it run as well !!

       

      Regards,

       

      Antoine MICK

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi AntoineMICK,

    Did bcdobbs 's suggestions help with your scenario? if that is the case, you can consider Kudo or accept his suggestions to help others who faced similar requirements.

    If that also doesn't help, please share more detailed information to help us clarify your scenario to test.

    How to Get Your Question Answered Quickly 

    Regards,

    Xiaoxin Sheng