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
MathieuF
Helper III
Helper III

Create Table

Good morning,
I would like to create a table that will allow me to better display information.
In this table, I would like 4 columns, Indicators, Agent, Team, Skill.
In the Indicators column, the list of my indicators and opposite the value of the indicator of the agent, the team and their skill.
My indicators are measurements that I already have.
How to do ?
THANKS
Mathieu

KPIAgentTeamSkill
KPI1XX (filter agent)XX (filter Team)XX (filter Skill)
KPI2XX (filter agent)XX (filter Team)XX (filter Skill)
KPI3XX (filter agent)XX (filter Team)XX (filter Skill)
1 ACCEPTED SOLUTION

Hello,
Thank you very much for the help provided.
I solved my problem using the HTML visual.

MathieuF_0-1698751537489.png

 

View solution in original post

12 REPLIES 12
Greg_Deckler
Super User
Super User

@MathieuF Maybe use a Matrix visual and the "Show values on rows" functionality under I think the Values format card.

 

Otherwise, Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

My file is too big and complicated to share.
I put a "Matrix" visual but why don't I have the columns that I indicated in the configuration.

 

MathieuF_0-1697816611751.png

Here's an example I made quickly. https://drive.google.com/file/d/1rIQ_DQlX4stm936jYJABbAXi27cpGkvm/view?usp=share_link

@MathieuF So given the sample data provided, what are you desiring to see in the visual? I'm not quite understanding what you want to see in terms of the actual numbers.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler 

I would like to have 3 columns, Agent, Team, Skill

@MathieuF I understand that. But, what are the actual numbers that you want to appear in those columns? Is the Skill for Jack in Group C going to show the number for Jack with Skill XAX or is the Skill column supposed to show the average for the KPI for Jack and Paul in Jack's "row" and Paul's "row"? Or something else entirely?

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler 

I have an "Agent" segment.
I want when I select an agent, I can see in the table the value of their indicator, that of their team and that of their area of expertise.
For example, Pierre is from team A and skill XAX.
So for KPI1, I should have:
Agent: 10
Team: 10
Skill: Avg(10+25): Peter and Paul have the same area of expertise.
I hope that it's clearer.

 

For information, on my original file I calculate my indicators via a filter FILTER(ALL(team),
team[Agent] = SELECTEDVALUE(Team[Agent])

@MathieuF Can't really put my finger on exactly why but this seems super bizarre. Regardless, you solution is in the attached file below signature. Had to do a little data re-modeling and other stuff.

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Thanks, I'll look at that and get back to you.

Hello @Greg_Deckler 
Thank you for your help.
I just realized that the model may not apply, because my measurements are in different bases.
So, I modified the file to best reflect the reality of what I have on the other, larger report.

 

https://drive.google.com/file/d/1wiBjW7_h5ooVdGG7EIeuzP-iAQie762p/view?usp=sharing

 

Mathieu

Hi @MathieuF ,

I updated your sample pbix file(see the attachment), please find the details in it.

1. Create a measure as below

Measure = 
SUMX (
    VALUES ( 'KPI'[KPI] ),
    SUMX ( VALUES ( 'Columns'[Column1] ), [Measure to Show] )
)

2. Put the new measure on the matrix visual to replace the original measure [Measure to Show]

vyiruanmsft_0-1698747096148.png

Best Regards

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

Hello,
Thank you very much for the help provided.
I solved my problem using the HTML visual.

MathieuF_0-1698751537489.png

 

Hi @MathieuF ,

It's glad to hear that your problem has been resolved. And thanks for sharing your solution here. Could you please mark your post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours.  Thank you.

Best Regards

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

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.