Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin 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.
Dear PBI community,
I would like to pose you a problem with a measure I'm currently using.
The problem that I want to solve is counting the number of documents that are listed as revision "0" have completed a certain phase. The problem is that from time to time I have some missing information about this step but I have some information about the following one (Revision "A") which implies that the revision "0" has been done.
I managed to take into account this problem and to have the correct result with this measure:
Actual VDA received from PBR =
var actual=
IF (
SELECTEDVALUE(' Vendor Documents'[Revision])="A",
CALCULATE(
Count('Vendor Documents'[Revision]),
filter(' Vendor Documents',' Vendor Documents'[Revision]="A")
),
CALCULATE(
count(Workflows[Date Completed] ) ,
Filter ( Workflows ,
Workflows[Step] = "PBR Review" && Workflows[Document Revision]="0" )
)
)
return actual
However I have a wrong total count:
I tried with SUMX and Summarize as others posts suggested, without particular success,
Do you have any idea on how I may solve this problem?
Solved! Go to Solution.
Rename your existing measure as Individual Actual VDA received from PBR and then create a new measure
Actual VDA received from PBR = IF( ISINSCOPE('Table'[Document ID]), [Individual Actual VDA received from PBR],
var summaryTable =ADDCOLUMNS( SUMMARIZE( 'Table', 'Table'[Document ID]), "@val", [Individual Actual VDA received from PBR])
return SUMX( summaryTable, [@val])
Rename your existing measure as Individual Actual VDA received from PBR and then create a new measure
Actual VDA received from PBR = IF( ISINSCOPE('Table'[Document ID]), [Individual Actual VDA received from PBR],
var summaryTable =ADDCOLUMNS( SUMMARIZE( 'Table', 'Table'[Document ID]), "@val", [Individual Actual VDA received from PBR])
return SUMX( summaryTable, [@val])
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
63 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
41 | |
40 |