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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
harirao
Post Prodigy
Post Prodigy

Combining two Measure into one

Hi Team,

Required your assistance, I am working on  Matrix visualization, where i want to combine two calculated measure as mentioned:
Below are measures
Eg: 107/282= %6+wk 38%
Matrix_.PNG
I want to combine column 2&3 as new result, similar for 4&5, 6&7 respectively, tried to calculated but not getting correct result in above table you can see TEST measure.
Dax:

Test = IF(ISBLANK(CALCULATE(DISTINCTCOUNT(Query1[OpportunityId]),
FILTER(Query1, Query1[Visibility]="Not Visible"
))),0,
(CALCULATE(DISTINCTCOUNT(Query1[OpportunityId]),
FILTER(Query1, Query1[Visibility]="Not Visible"
))))
&"/"&
IF(ISBLANK(CALCULATE(DISTINCTCOUNT(Query1[OpportunityId]),
FILTER(Query1, Query1[Visibility]="Not Visible"
))),0,
(CALCULATE(DISTINCTCOUNT(Query1[OpportunityId]),
FILTER(Query1, Query1[Visibility]="Not Visible"
))))/Query1[%6week_1&2]

Looking for below result.
Table_.PNG


can somebody help to get this result.

Thanks & Regards,
Hari 

 

 

 

2 ACCEPTED SOLUTIONS

Hi @Pragati11,

Not getting correct result.
2.PNG
1.PNG
Below Measure used for calculation
% 6+ weeks visibility
= DIVIDE(Query1[%6week_3],Query1[%6week_1&2],0)

%6week_1&2 = CALCULATE(DISTINCTCOUNT(Query1[NxOpportunityIdentifier]), FILTER(Query1, Query1[actual_visibility_weeks]> 0))+CALCULATE(DISTINCTCOUNT(Query1[NxOpportunityIdentifier]), FILTER(Query1, Query1[0 visibility exclusions]= "No"),
FILTER(Query1, Query1[actual_visibility_weeks]= 0))
%6week_3 = CALCULATE(DISTINCTCOUNT(Query1[NxOpportunityIdentifier]), FILTER(Query1, Query1[actual_visibility_weeks]>=6))

Regards,
Hari 

View solution in original post

HI @harirao ,

 

Just modify the last DAX as follows and check:

 

>6 Week Visibility/Percentage = CONCATENATE([>6week_visibility], CONCATENATE(" / ", FORMAT([%6 + 6 weeks_visibility], "0.00%")))

 

Please replace your correct measure names in the above dax.

 

If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂

 

Thanks,

Pragati

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

5 REPLIES 5
Pragati11
Super User
Super User

HI @harirao ,

 

You can just Concatnate your both measures as follows:

 

>6 Week Visibility/Percentage = CONCATENATE([>6week_visibility], CONCATENATE(" / ", [%6 + 6 weeks_visibility]))

 

Please replace your correct measure names in the above dax.

 

If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Hi @Pragati11,

Not getting correct result.
2.PNG
1.PNG
Below Measure used for calculation
% 6+ weeks visibility
= DIVIDE(Query1[%6week_3],Query1[%6week_1&2],0)

%6week_1&2 = CALCULATE(DISTINCTCOUNT(Query1[NxOpportunityIdentifier]), FILTER(Query1, Query1[actual_visibility_weeks]> 0))+CALCULATE(DISTINCTCOUNT(Query1[NxOpportunityIdentifier]), FILTER(Query1, Query1[0 visibility exclusions]= "No"),
FILTER(Query1, Query1[actual_visibility_weeks]= 0))
%6week_3 = CALCULATE(DISTINCTCOUNT(Query1[NxOpportunityIdentifier]), FILTER(Query1, Query1[actual_visibility_weeks]>=6))

Regards,
Hari 

HI @harirao ,

 

Just modify the last DAX as follows and check:

 

>6 Week Visibility/Percentage = CONCATENATE([>6week_visibility], CONCATENATE(" / ", FORMAT([%6 + 6 weeks_visibility], "0.00%")))

 

Please replace your correct measure names in the above dax.

 

If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂

 

Thanks,

Pragati

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Hi @Pragati11 ,

Thanks for the solution, its working fine.

Regards,

Hari 

amitchandak
Super User
Super User

@harirao , if you wanted to show appended result then you can show like

 

Append = [measure1] & " / " & [measure2]

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.