The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
The measure results are incorrect for certain rows. I don't understand why. Please let me know how I can resolve this. Also the totals are wrong as well.
DAX command =>
Solved! Go to Solution.
@PMnooBI Why not:
Spent =
VAR __Hours = SUM('BTA Hours'[Hours Billed])
VAR __Rate = RELATED('BTA Hourly Rate'[Hourly Rate ])
VAR __Result = __Hours * __Rate
RETURN
__Result
At least that way you can troubleshoot and debug it.
Hi @PMnooBI
Apparently these rows are an aggregation of multiple rows of the 'BTA Hours' table. The 185 represents two rows, the 555 represents 3 rows and so. Either these rows are duplicates or you need to include more columns in the table visual to make sure only row level is represented in the visual without any chance of aggregation.
Hi @PMnooBI
Apparently these rows are an aggregation of multiple rows of the 'BTA Hours' table. The 185 represents two rows, the 555 represents 3 rows and so. Either these rows are duplicates or you need to include more columns in the table visual to make sure only row level is represented in the visual without any chance of aggregation.
@PMnooBI Why not:
Spent =
VAR __Hours = SUM('BTA Hours'[Hours Billed])
VAR __Rate = RELATED('BTA Hourly Rate'[Hourly Rate ])
VAR __Result = __Hours * __Rate
RETURN
__Result
At least that way you can troubleshoot and debug it.
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
11 | |
10 | |
10 | |
9 |