Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi community!
I am trying to build a measure to set a query for the prices [Cotacao] for the ID product [ID_FW]=21, [Validade]=1, in every segment[Prazo], for the last/max date [Data_Cotacao].
I am using this DAX formula:
Solved! Go to Solution.
@Anonymous
The file is given below for your reference.
https://drive.google.com/file/d/1iAkJAvLyQU_pvM-39RhX2yukjUbpLQZX/view?usp=sharing
I hope this helps or you can send the screenshot from data where the logic fails.
Regards
Kumail Raza
Hello @Anonymous
You can update the formula to
MAxDateUpdate =
CALCULATE(AVERAGE(data[Cotacao]), data[ID_FW]=21, data[Validade]=1, LASTDATE(data[Data_Cotacao]))
Let me know if this helps.
Regards
Kumail Raza
@Anonymous
Can you send screenshots of the error here.
Regards
Kumail Raza
the expression refers to multiple columns. multiple columns cannot be converted to a scalar value
@Anonymous
The file is given below for your reference.
https://drive.google.com/file/d/1iAkJAvLyQU_pvM-39RhX2yukjUbpLQZX/view?usp=sharing
I hope this helps or you can send the screenshot from data where the logic fails.
Regards
Kumail Raza
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 35 | |
| 31 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 75 | |
| 72 | |
| 38 | |
| 35 | |
| 25 |