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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
HBL_Nick
Frequent Visitor

showing total but not the value in visual when values cant be matched

Hey guys,

 

I have 2 tables who have a relation on the columns ordernr and invoicenr

HBL_Nick_0-1630523501897.png

 

When there is a match, the visual is doing fine:

HBL_Nick_1-1630523633680.png

 

 

But as soon as there is no match for a given ordernr, the value in the row is going blank but the total is still there. How can I show the quantity (which must be 6 in both rows).

HBL_Nick_2-1630523722708.png

 

I hope u guys can help me out 🙂

 

Thanks!

 

 

 

 

1 ACCEPTED SOLUTION
HBL_Nick
Frequent Visitor

Thanks for the suggestions guys, recreating the relationship between te tables in the model solved the solution for me.

View solution in original post

3 REPLIES 3
HBL_Nick
Frequent Visitor

Thanks for the suggestions guys, recreating the relationship between te tables in the model solved the solution for me.

Ashish_Mathur
Super User
Super User

Hi,

Not sure what you want but try this.  Use the Query Editor to append both tables and then build your visual from the appended table.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
ryan_mayu
Super User
Super User

@HBL_Nick 

maybe you can try this

Measure = if(ISBLANK(sum('Table'[QTY])),sum(Table1[QTY]),sum('Table'[Qty]))




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

Proud to be a Super User!




Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.