The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
My data model consists of three tables:
When I create a visual with all staff for a sales period Power BI returns 11 names, which is correct:
However, when I add the total sales for the sales people, three sales staff with no sales for the period drop off:
Any idea how I can include these in the table with showing just a blank field for sales? The are currently no filters applied to the visual other than the date of sale.
Thanks
Solved! Go to Solution.
@Anonymous - There should be an option to show items with no data. Otherwise, you can often get around this by doing something like this:
Measure =
VAR __Calc = <Some calculation>
RETURN
IF(ISBLANK(__Calc),0,__Calc)
Make sure that the table field is set to don't summarise, otherwise having a blank value will cause the whole row to disappear.
Thanks for your suggestion @amitchandak. However, the field I was pulling did not show the "show items with no data" option.
@Anonymous - There should be an option to show items with no data. Otherwise, you can often get around this by doing something like this:
Measure =
VAR __Calc = <Some calculation>
RETURN
IF(ISBLANK(__Calc),0,__Calc)
User | Count |
---|---|
80 | |
73 | |
40 | |
30 | |
28 |
User | Count |
---|---|
107 | |
96 | |
55 | |
47 | |
47 |