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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
JulieDuncan
Regular Visitor

Calculate Story Point Value between two tables

I have a two tables in Power BI - One shows a "tag" type with various inputs within it and another table that expresses the value I want to associate with the "tag" I want to get a value where the count of the "tag" is multiplied by the "point" value. 

From Data below I would expect the Tag "Duplicate = 4*1", "Bulk Upload = 6*5", "New User = 8*3"

JulieDuncan_2-1703176013216.png

 

 

Data Table 1

Work Item IDTag
123Duplicate
124New User
125Bulk Upload
126New User
127New User
128New User
129Duplicate
130Bulk Upload
131Duplicate
132Bulk Upload
133Bulk Upload
134Duplicate
135Bulk Upload
136New User
137New User
138Bulk Upload
139New User
140New User

 

Points Table 2

Tags1Points
Duplicate1
New User3
Bulk Upload5

 

JulieDuncan_0-1703176879238.png

 

 

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

Hi  @JulieDuncan ,

 

Here are the steps you can follow:

1. Create measure.

Measure =
var _count=
CALCULATE(
    COUNT('Data Table1'[Work Item ID]),
    FILTER(ALL('Point Table2'),'Point Table2'[Tags1]=MAX('Data Table1'[Tag])))
return
_count * MAX('Point Table2'[Points])
Measure 2 =
SUMX(
    VALUES('Data Table1'[Tag]),[Measure])

2. Result:

vyangliumsft_0-1703831609354.png

Best Regards,

Liu Yang

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

View solution in original post

3 REPLIES 3
v-yangliu-msft
Community Support
Community Support

Hi  @JulieDuncan ,

 

Here are the steps you can follow:

1. Create measure.

Measure =
var _count=
CALCULATE(
    COUNT('Data Table1'[Work Item ID]),
    FILTER(ALL('Point Table2'),'Point Table2'[Tags1]=MAX('Data Table1'[Tag])))
return
_count * MAX('Point Table2'[Points])
Measure 2 =
SUMX(
    VALUES('Data Table1'[Tag]),[Measure])

2. Result:

vyangliumsft_0-1703831609354.png

Best Regards,

Liu Yang

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

v-yangliu-msft
Community Support
Community Support

Hi  @JulieDuncan ,

 

Not very clear about the structure and relationship between your other two tables, if [Value] and [ID] are in the same table, you can directly MAX('True1'[ID]) * MAX('True1'[Value])

If in different tables, you can consider to use the connection field between two tables, use measure to get [Tags.1] in table A to group to get the corresponding connection field, and then get the [ID] grouped in table B through the corresponding connection field.

If it doesn't meet your desired outcome, can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.

 

Best Regards,

Liu Yang

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

Updated main post with some dummy data - I couldn't load it as a PBIX file but hopefully this works

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors