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.
Solved! Go to Solution.
@ssnegi1971 , Try using
DAX
DAX Indexed Table =
VAR __SourceTable = 'Reports'
VAR __Count = COUNTROWS(__SourceTable)
VAR __SortText = CONCATENATEX(__SourceTable, [ReportName], "|", [ReportNo])
VAR __Table =
ADDCOLUMNS(
GENERATESERIES(1, __Count, 1),
"ReportNames1", PATHITEM(__SortText, [Value], TEXT)
)
VAR _RTABLE = SELECTCOLUMNS(DISTINCT(__Table), "ReportNames", [ReportNames1])
RETURN _RTABLE
Proud to be a Super User! |
|
@ssnegi1971 , Try using
DAX
DAX Indexed Table =
VAR __SourceTable = 'Reports'
VAR __Count = COUNTROWS(__SourceTable)
VAR __SortText = CONCATENATEX(__SourceTable, [ReportName], "|", [ReportNo])
VAR __Table =
ADDCOLUMNS(
GENERATESERIES(1, __Count, 1),
"ReportNames1", PATHITEM(__SortText, [Value], TEXT)
)
VAR _RTABLE = SELECTCOLUMNS(DISTINCT(__Table), "ReportNames", [ReportNames1])
RETURN _RTABLE
Proud to be a Super User! |
|
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |