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 PBI Community:
I am looking for assistance to evelope a measure that would have an index column in a table visual, always start with one, based on a slicer selection. I have provided a sample file and desired results. Thank in advance for any input on this measure.
Please see attached. Thank you!https://drive.google.com/file/d/1nqTERC3Hdhng7vxtvlhXgmCdJT40rSFU/view?usp=share_link
Solved! Go to Solution.
Hi ThxAlot: That worked fantastic on my example. Thank you very much. I'll accept as the solution.
What is strange is when I apply the measure to my real data it counts the total number of ID's. Maybe I can try reproducing a table similiar to what I have. But you solved what was asked. Thank you!
Idx =
CALCULATE(
DISTINCTCOUNT( 'Table'[ID] ),
'Table'[index] <= MAX( 'Table'[Index] ),
ALLSELECTED()
)
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
Hi ThxAlot: That worked fantastic on my example. Thank you very much. I'll accept as the solution.
What is strange is when I apply the measure to my real data it counts the total number of ID's. Maybe I can try reproducing a table similiar to what I have. But you solved what was asked. Thank you!
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
12 | |
10 | |
6 |