Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
RumSwift
Regular Visitor

Merging data without access to PowerQuery

Hiya,

 

So I'm wondering if theres a way to merge data for 2 coloumns ina  table, without access to transform the data. Seems the permissions we have on the datasets at work do not allow this.

 

Example data (made up scenario):

Shop NameSalesRevenueStaffCakes Remaining

Shop 1

10500.008100
Shop 215120.004200
Shop 310063.2238500
Shop 4209.225600

 

So in the above you can see there are 4 shops. When in reality, there is actually only 3 shops because Shop 3 and Shop 4 is one shop, reporting as 2 different shops (if that makes sense). So essentially, I would like to be able to have a table showing something like below:

 

Shop NameSalesRevenueStaffCakes Remaining

Shop 1

10500.008100
Shop 215120.004200
Shop 3 & Shop 4 Combined12072.4489100

 

I don't know if the above is possible, without the abaility to add an extra column and combine the data. Wondered if theres some sort of really elaborate measure I could use? 

1 ACCEPTED SOLUTION
DataInsights
Super User
Super User

@RumSwift,

 

Try this calculated column using DAX:

 

Group = 
IF ( Table1[Shop Name] IN {"Shop 3", "Shop 4"}, "Shop 3 & Shop 4 Combined", Table1[Shop Name] )

 

DataInsights_0-1664040245469.png

 

Use this column "Group" in your visual.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
DataInsights
Super User
Super User

@RumSwift,

 

Try this calculated column using DAX:

 

Group = 
IF ( Table1[Shop Name] IN {"Shop 3", "Shop 4"}, "Shop 3 & Shop 4 Combined", Table1[Shop Name] )

 

DataInsights_0-1664040245469.png

 

Use this column "Group" in your visual.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.