Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi All,
We have Region,Country,Port Columns for Origin and Destination.
O_Region,O_country,O_Port , Region_D,Country_D,Port_D are columns for Origin and Destination.All are in one table.I have a requirement like,if I click on Region Button from Origin and Region Button from Destination,then it should show all the transactions from that Origin Region to Destination Region.If I click on Region from Origin and country from Destination then it should show transactions from Origin Region to Country Destination.If I click on Port from Origin and Region from Destination,then it should show transactions from Origin Region to Country Port.
I need to display the combination is like this,
Region to Region
Region to Country
Region to Port
Country to Region
Country to Country
Country to Port
Port to Region
Port to Country
Port to Port
I have achieved it by doing Unpivot for Region,Country,Port for Origin and Unpivot for Region,Country,Port for Destination.These steps are adding more rows.I have huge amount of Data.
So,Can any one please suggest me any other way for this?
@Anonymous 
Do not worry about a huge number of rows, large numbers of columns will make your model slower. If works for you fine. 
⭕  Subscribe and learn Power BI from these videos
 ⚪ Website ⚪  LinkedIn ⚪  PBI User Group 
Is there any intelligent way to handle it with Pivoting the complete data . through some Dax any reference will be helpful.
In my case there are 12 columns and I need to Pivot two columns againts those 10 columns and each granular data has 12 Millions rolws . This becomes difficult to refresh the data on service. 
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.