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.
Hello everyone , so i have this PowerBI ( sorry for showing you the excel) and i want to do a distinct SUM but the thing is that for the 4th and 5th is showing the same value and when i do the sumx and Disting function it`s showing me just one value for both of them and i want a value for each day even if they are the same. Can u help me please doing this somehow ?
Solved! Go to Solution.
@Anonymous , If [% of new for] is a column
then new measure
Sumx(summarize(Table, Table[Date], Table[% of new for]) ,[% of new for])
or
Sumx(summarize(Table, Table[Date],"_1", max(Table[% of new for])) ,[% of new for])
if this is a measure
Sumx(summarize(Table, Table[Date],"_1", maxX(Table, Table[% of new for])) ,[% of new for])
@Anonymous , If [% of new for] is a column
then new measure
Sumx(summarize(Table, Table[Date], Table[% of new for]) ,[% of new for])
or
Sumx(summarize(Table, Table[Date],"_1", max(Table[% of new for])) ,[% of new for])
if this is a measure
Sumx(summarize(Table, Table[Date],"_1", maxX(Table, Table[% of new for])) ,[% of new for])
First one seems to work perfectly for me , i gladly thank you because i was searching for this kind of response for a long time . Have a good day and thank you one more time.
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
8 | |
7 |