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
kasife
Helper V
Helper V

Percentage achievement

Hey people,

 

I'm trying to create a measure that selects the date when 40% of the sale is reached. In the example below the 40% was reached in July 2023.
How do I select this date?

To create the matrix I used month and year from my calendar table. And for the percentage measure:

 

40% = 

VAR PercentualCurva = DIVIDE(projetoAcumulado,_allProjeto)
RETURN
IF( PercentualCurva >= 0.4, MIN(ultimoReaalDivulgado[Data Repasse]))

 

 

kasife_1-1687989777786.png

 

 

1 ACCEPTED SOLUTION

Hi,

Please find attached my solution file.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

7 REPLIES 7
Ashish_Mathur
Super User
Super User

Hi,

Share the download link of the PBI file.  Do you want to see this date for each project?  If possible, please ensure column/table names are in English.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi @Ashish_Mathur 
yes, I would like to have a list with the date of each project.

kasife_0-1688006886374.png

From it I will also create a conditional with color until it reaches 40% which is the beginning of the project.

kasife_1-1688007089805.png

Here the pbix: 

https://ufile.io/rnzyxdqo

 

 

Hi,

Please find attached my solution file.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Ashish_Mathur 

This is perfect! Thank you very much.

If I wanted to do it for the project without using modules, what measure would I have to adjust?

You are welcome.  If my previous reply helped, please mark that reply as Answer.  From visual on the left, just drag out the Module.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thanks so much @Ashish_Mathur 

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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.