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 dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I'll just dive right into the example. Why is "1 + 1" equal to 182?
I get wrong answers for other operations too:
"1 / 2"
DIVIDE() gives the same result.
Solved! Go to Solution.
In your first example you are creating a column that equals "2" to all of your rows, then aggregating by something. I'm going to guess you have 91 rows of data either filtered or in your dataset to get 182.
Column or Measure?
Column.
This brings up another issue which is that I can't create measures. None of my columns are available when creating a measure.
In your first example you are creating a column that equals "2" to all of your rows, then aggregating by something. I'm going to guess you have 91 rows of data either filtered or in your dataset to get 182.
Ooohhh... yeeaaahh... that makes sense!
Any idea on the measure issue I mentioned?
That depends on what your data model looks like. I'm going to assume you've got multiple tables in play if some column names aren't autocompleting when creating a Measure, there's probably something funky in how the tables are related and/or you're working on the wrong side of a many:1 relationship.
Turns out I was just doing it wrong (again). I was not using a function like SUM() in my attempt at making a measure.
User | Count |
---|---|
79 | |
74 | |
44 | |
32 | |
28 |
User | Count |
---|---|
100 | |
93 | |
52 | |
50 | |
48 |