Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi guys, i may need your help with one question.
I have a table called Protocols that allow me to see the number of the protocol, the value in $ and the itens.
And for each protocol, i have the full value of the Fiscal Note.
But i'm having a problem, that each protocol repeats in the table because the itens are different, but the full value of the protocol is the same.
I will send an example:
The value of the fiscal note is the same, but the itens are diferent.
The protocol can repeat more than 2 rows.
How can I consider a single invoice value even if it is repeated several times?
So in the graphs, the value will not be doubled, tripled or even more.
Solved! Go to Solution.
Hi @ErickReris ,
In this case you can go with different approachs but without making model changes the option is to create some measures for this they should be similar to this:
Total Nota Final = SUMX(SUMMARIZE(Table, Table[Nro. Protoolo], Table[Valor Total Nota Fi]),Table[Valor Total Nota Fi])
Since the values for the Protocol is always the same this will give you a table with a line value for each protocol and without repeating the value several times.
Now you can use this metric on your visualization and calculations.
If you are looking for an average value you should use AVERAGEX instead of SUMX. For the number of protocols you just need to use a DISTINCTCOUNT for example.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @ErickReris ,
In this case you can go with different approachs but without making model changes the option is to create some measures for this they should be similar to this:
Total Nota Final = SUMX(SUMMARIZE(Table, Table[Nro. Protoolo], Table[Valor Total Nota Fi]),Table[Valor Total Nota Fi])
Since the values for the Protocol is always the same this will give you a table with a line value for each protocol and without repeating the value several times.
Now you can use this metric on your visualization and calculations.
If you are looking for an average value you should use AVERAGEX instead of SUMX. For the number of protocols you just need to use a DISTINCTCOUNT for example.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThis is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
65 | |
63 | |
52 | |
37 | |
36 |
User | Count |
---|---|
82 | |
66 | |
61 | |
46 | |
45 |