March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello
How to I show a Project Size; Project Count per Size, and Total Story Points per Project Size on one Power Bi Visual?
Example:
I have 3 Project sizes i.e. Small, Medium, and large. These values are visible in one column in my data set.
I created a Lookup table to define the number of Story Points that each project size would equate to.
Project Story Points Definition:
Small = 50
Medium = 100
Large = 150
If I have 2 small projects; 1 medium project, and 3 large projects to complete in Year 2022, how do I show the number of projects per size and the total Story per size. ie. 2 x Small = 100; 1 x Medium = 100; 3 x Large = 450 on one Power Bi visual in year 2022.
In year 2023 I will need to show the same and so on.
I would really appreciate your assistance in this regard. My DAX knowledge in near to non-existent.
Thank you
Kuben
Solved! Go to Solution.
Hi @KubenM ,
Like this?
Just create a measure to count rows and a column to calculate total value, as the following shows:
countrows = CALCULATE(COUNTROWS('Table'),FILTER(ALL('Table'),'Table'[item]=SELECTEDVALUE('Table'[item])))
Total = 'Table'[value]*[countrows]
You can also refer to my pbix file for better understanding.
Best regards,
Community Support Team Selina zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Thank you for your time and effort in this regard Selina.
Dear All, Thank you for the feedback received in this regard. I will try the options suggested. Much appreciated.
Hi @KubenM ,
Like this?
Just create a measure to count rows and a column to calculate total value, as the following shows:
countrows = CALCULATE(COUNTROWS('Table'),FILTER(ALL('Table'),'Table'[item]=SELECTEDVALUE('Table'[item])))
Total = 'Table'[value]*[countrows]
You can also refer to my pbix file for better understanding.
Best regards,
Community Support Team Selina zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Thank you for your time and effort in this regard Selina.
@KubenM , You need somung like
concatenatex (values(table[Project]) , calculate([Count meausre] & " " & Max(table[Project]) & " " & [Other measure], " ; ")
You can use unichar(10) for the new line. You can display it on card visual
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
25 | |
18 | |
15 | |
9 | |
8 |
User | Count |
---|---|
37 | |
32 | |
21 | |
16 | |
14 |