Forum Discussion
Use measurement result to create another
- Anonymous2 years ago
Hi Edgar_massa ,
If I understand correctly, it seems that the measure [Status] can't return the correct result base on the measure [Deadline Days]. Am I right? Please create a measure as below base on the measure [Prazo em Dias] as below and update the formula of measure [Status] as below. Later please check if it can return the correct result...
Measure = SUMX ( GROUPBY ( fac_TicketsHistorico, fac_TicketsHistorico[dt_envio_financeiro], fac_TicketsHistorico[dt_prev_pagamento], fac_TicketsHistorico[Codigo] ), [Prazo em Dias] )Status = IF([Measure]<=5,"NOK","OK")If the above one can't help you get the expected result, please provide some raw data in your table (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It would be helpful to find out the solution. You can refer the following link to share the required info:
How to provide sample data in the Power BI Forum
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Edgar_massa columns in your screenshot are in Spanish and I cannot correlate those with the reply you have provided. I hope someone with Spanish knowledge can help you. Details of this post is making everything complicated for no reason. good luck!