Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi,
Hope you're fine. I hope you can help me.
I have an excel file (attached) with all projects awarded during 01/11/2019 and 31/01/2020. I want to know how many distinct ProjectID I have, and the the sum of their Pricetofunder.
For counting the number of projects, I'm fine ("Projects Awarded), but I struggled with calculating the sum.
I tried this formula and did work for one period, but not for the one I'm attaching:
The result is that 1) Count doesn't count some projects; 2) the Total funding is not created to the same projects not counted; 3) the Funding Awarded measure is not working for those not counted or summed. So, I thought that "Funding Awarded" didn't work because there was something wrong with those projects in the excel file (in fact, I attached as an excel to share with you, but it came from a json file). So I went to PQ and double checked their data type (decimal number for pricetofunder, and whole number for ProjectID). Also, I set their properties to "Don't summarize". Nothing changes as you can see.
Link to the file https://drive.google.com/file/d/1n_H_qVBCW16qjPKCkd5s2bMuz8yBSbR6/view?usp=sharing. I have highlithed those ProjectID duplicated and in Red the distinct. So, by filtering by the red I found that the "Funding Awarded" should be £1,489,566.38.
So, why ProjectID, Total Funding and Funding Awarded are not showing? I hope also the Funding Awarded gives the £1,4m from the excel.
Thanks for the help!
Solved! Go to Solution.
@Anonymous , Try like
SUMX(summarize(Projects, project[ProjectID],"_1",CALCULATE(MAX(Projects[PricetoFunder]),USERELATIONSHIP('Calendar'[Date],Projects[BidAwardedDate]))),[_1])
@Anonymous , Try like
SUMX(summarize(Projects, project[ProjectID],"_1",CALCULATE(MAX(Projects[PricetoFunder]),USERELATIONSHIP('Calendar'[Date],Projects[BidAwardedDate]))),[_1])
Thanks. Returns blank values for all projects.
I think my measure "Funding Awarded" worked, because as you can see it gives unique PricetoFunder for projects (e.g. 1201637 has 4 rows with same pricetofunder, but Funding Awarded shows only one PricetoFunder).
So, i don't whether it's because Funding Awarded is not right (as you suggested), but I'm very cross of why not understanding why "Total funding", "Count of ProjectID" are not showing in the table.
@Anonymous is this what you are looking for?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@amitchandak @parry2k thanks for your answers. Yes, I see @amitchandak measure worked and @parry2k solution provide same results. But I think they worked because you build your answers on my excel file (that I exported from my data). Same formula doesn't work with my dataset. As mentioned, somehow something is wrong with my data as some projects are not counted/summed.
Can't see anything on the internet... How can I share my pbix file with you? As this has info from my organisation, I would like to limit this as to the period I refer to...and the data comes from json through an organisational API... so I don't know how or should share this with you...
@amitchandak @parry2k thanks for you help, but I would rather not to share the file for security reasons.
@amitchandak , I did go to a previous version of my file and info not appearing got fixed, the measure worked if I created a new pbix file with the excel file I gave you using the following (withouth the userelantionship formula)
@parry2k , yes £1,489,566.38 is the value. Could you share the formula with me please? I did try several but nothing...
Thanks for both the help!
@Anonymous as mentioned previously, share pbix file thru google drive/one drive, without looking into your file, it is very hard to tell why it is not working.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi all,
Thanks for your contribution. Finally @amitchandak formula helped me.
Thanks again for you help.
You can share using one drive/ google drive or send me directly via email. My email is in the signature.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 80 | |
| 49 | |
| 35 | |
| 31 | |
| 30 |