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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Relating measures against targets in another table

Hi,

 

I have a table of values in which I have created multiple average measures. Now I need to relate those values against goals/targets which I have in another table.

 

I'm not sure how I would go about modelling and relating those values.


The end goal here is to create a radar chart which the average measure and goal is in the same legend/category which I also can slice against dates.

Any help is appreciated

4 REPLIES 4
v-henryk-mstf
Community Support
Community Support

Hi @Anonymous ,

 

For the use of the radar chart, you can refer to the blog provided below. Power BI Custom Visuals - Radar Chart (pragmaticworks.com)

For the measure you created, I still don’t understand the real needs and expected results. Can I provide a detailed data model (delete sensitive data)? I will answer for you as soon as possible.


Looking forward to your reply.

Best Regards,
Henry

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

Anonymous
Not applicable

Hi,

 

I'll try from the start:

 

So the basic need is to calculate some results in one table and relate them to values in another table.

 

Without doing any modification this is a relevant example which I guess you would call my "Facts":

 

aram_0-1620156633378.png


From that data I need to calculate "Link Rate %" which is the percentage of "Linked" against "Link potential"

I also need to calculate "Link Accuracy %" which is the percentage of "Relevant link" against "Linked"

The condition needs to be that there is a 1 number in "Linked" on the correspoding row which basically makes sure that it only calculates when there is an actual link event

So now I hopefully have two measures("Link Rate %" and "Link Accuracy %"  that gives me the current results by date.

 

These results needs to be compared to goals which I have in another table that looks like this:

aram_1-1620156670603.png

 

Now I want to have the ability to visualize how the current results is against the target values in a radar chart

 

Example:

aram_0-1620134094139.png

 

amitchandak
Super User
Super User

@Anonymous , In power bi you analyze data along with common dimensions/tables.

 

Create a common table like date, category, etc and join them with actual and target tables and analyze them together

 

Try to be in star schema : https://www.sqlbi.com/articles/the-importance-of-star-schemas-in-power-bi/

 

I dicussed target in this video https://www.youtube.com/watch?v=yPQ9UV37LOU

Anonymous
Not applicable

Hi and thanks.

 

I got a step further by pivoting my table so that the "measure name" is in the same column. I created a "Measure" dimension table and made a relation to the "Goal/Target" table and "Actual score" table.

 

Problem now is that the relationship doesn't work. The actual scores are calculated by measures, and this is the result when I place everything in a table:

 

aram_0-1620109761972.png

 

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.