Forum Discussion
Using a table visual, splitting the results into 2 columns
Hi Anonymous ,
what is the logic for splitting into 2 columns?
You simply want the bottom half of rows to be in the 2nd column? or something different
LC
Interested in Power BI and DAX templates? Check out my blog at www.finance-bi.com
- Anonymous6 years agoNot applicable
That is correct. Either taking the bottom half results and printing them to a second column, or just alternating printing between to columns.
- lc_finance6 years agoSolution Sage
Hi Anonymous ,
You can download my proposed solution from here.
Here are the steps:
1) add an Index column in Power Query
2) Go back to Power BI and add a calculated column. Here is DAX the formula for it:
Column number = VAR numberOfRows = COUNTROWS('Text') RETURN IF ([Index]<=numberOfRows/2 , 1,2)This calculated column returns 1 for the first half of the rows (to be included in column 1) and 2 for the second half of the rows (to be included in column 2).
3) Add 2 tables to your report. Filter the first table for column number =1 and the second table for column number=2.
That's it!
Does this help you?
LC
Interested in Power BI and DAX tutorials? Check out my blog at www.finance-bi.com
- Anonymous6 years agoNot applicable
lc_financeI followed the steps now, and the list of report names changed, but the reports are still split unevenly. The split needs to happen after the slicer labeled D&M, TS, WS, and WL are applied.
The report names are not split evenly.