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.
Hi Experts ,
I am stuck with the scenario below :
Recently i have applied unpivot columns for few columns to rearrange the rows & attributes.
After that most of the columns are duplicated (expected) , I have fixed few values related to that columns by using DISTINCT dax , but I cannot use the same DISTINCT into the measure which i have created to summing up the values and with using some other measures as below :
after unpivot : (27 rows)
Now the case is I cannot use DISTINCT to get the 1 Account value from this measure.
Now it is showing below huge number : total 27 rows = 27*51246
Solved! Go to Solution.
Hi, @dinesharivalaga
As an example, does your sample data look like this?
Maybe you can try this formula.
Measure =
VAR _table=DISTINCT('Table')
RETURN
SUMX(_table,[Value])
Is this the result you expected?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @dinesharivalaga
As an example, does your sample data look like this?
Maybe you can try this formula.
Measure =
VAR _table=DISTINCT('Table')
RETURN
SUMX(_table,[Value])
Is this the result you expected?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
25 | |
11 | |
7 | |
6 | |
6 |
User | Count |
---|---|
30 | |
13 | |
11 | |
9 | |
7 |