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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

Hi  @Anonymous ,

 

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
Anonymous
Not applicable

Hi  @Anonymous ,

 

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

Anonymous
Not applicable

Hi  @Anonymous ,

 

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.

Anonymous
Not applicable

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

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.