Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I am working on someone's project. The table heading in the Power BI desktop is showing the wrong total number of items. As in the figure, there is just 1 item in the table but in the table heading it's showing 2. I looked at the format option but couldn't find the solution. Did anyone get the solution for this? Thank you
Solved! Go to Solution.
@Anonymous , Try like
New Projects = CALCULATE(
SUMX(values( 'Projects (2)'[project code &]),'Projects (2)'[Value]),
FILTER( 'Projects (2)', 'Projects (2)'[Created] >= MIN( Workday[Date] ) && 'Projects (2)'[Created] <= MAX( Workday[Date] ))
)
Would it be possible for you to share the pbix file as we need to trace from where the header is coming and see the logic applied to calculate the number. Ideally it should be in sync with the logic that has been applied to get the table values
Can you advise what logic has been applied on to show the number of items in the header?
checked everywhere but couldn't find the logic. The following DAX formula is used to get the value in the table:
New Projects = CALCULATE(
SUM( 'Projects (2)'[Value]),
FILTER( 'Projects (2)', 'Projects (2)'[Created] >= MIN( Workday[Date] ) && 'Projects (2)'[Created] <= MAX( Workday[Date] ))
)
And this formula returns just a single item in the table but table header is showing 2.
@Anonymous , Try like
New Projects = CALCULATE(
SUMX(values( 'Projects (2)'[project code &]),'Projects (2)'[Value]),
FILTER( 'Projects (2)', 'Projects (2)'[Created] >= MIN( Workday[Date] ) && 'Projects (2)'[Created] <= MAX( Workday[Date] ))
)
User | Count |
---|---|
128 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
136 | |
113 | |
102 | |
71 | |
60 |