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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
drahmedsalem
Frequent Visitor

How to present 2 text columns collectively on one graph

I have primary and secondary data in 2 columns. I need to present them on one axis and to be collected (summed) automatically once presented on the graph. for example, I have 10 TT, I need to be automatically counted to be 12 (i.e. to reflect the total numbers) as well as 

 

drahmedsalem_0-1621847458636.png 

drahmedsalem_1-1621847885650.png

Business  Model2ndry Business  Model
TT-
TT-
XYZ-
TTTT
XYZ-
XYZ-
Commercialization-
Commercialization-
XYZ-
XYZ-
XYZ-
XYZ-
XYZ-
XYZ-
XYZ-
TTCommercialization
TTCommercialization
TTCommercialization
TT-
TT-
Commercialization-
TT-
TT-
Commercialization-
CommercializationXYZ
Commercialization-
Commercialization-
XYZTT
1 ACCEPTED SOLUTION
v-janeyg-msft
Community Support
Community Support

Hi, @drahmedsalem 

 

v-janeyg-msft_1-1622013588713.png

 

In addition to the methods mentioned above, you can also clean the data directly in PQ, so that the report will be made faster.

You can get two single lists through 'reference', then unify the names for append operation.

1.gif

v-janeyg-msft_0-1622011542196.png

If you still have problems, please feel free to ask me.

 

Best Regards

Janey Guo

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-janeyg-msft
Community Support
Community Support

Hi, @drahmedsalem 

 

v-janeyg-msft_1-1622013588713.png

 

In addition to the methods mentioned above, you can also clean the data directly in PQ, so that the report will be made faster.

You can get two single lists through 'reference', then unify the names for append operation.

1.gif

v-janeyg-msft_0-1622011542196.png

If you still have problems, please feel free to ask me.

 

Best Regards

Janey Guo

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@drahmedsalem ,

 

create new table.
Business = distinct(union(distinct(Table[Business Model]), distinct(Table[2ndry Business Model])))


Join these two columns with new table. One join will active assume (Business Model one), and one will be inactive

 

then try measure like this with Business Model from Business Model

 

count(Table[Business Model]) + calculate(count(Table[2ndry Business Model]), userelationship(Table[2ndry Business Model] , Business[Business Model]))

 

https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks @amitchandak for your reply.

 

Regarding the second equation,

 

  1. shall I start as "new measure or column"? 
  2. Table (is the old or new one)?
  3. Business Model (in old or new table)?

Thanks.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.