Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Hello All,
I have a table with below columns in my dataset. We have monthly revenue for each resellers in this table from feb-21 to mar-22.
For few resellers, there will be no data for some particular months, as they didn’t generate revenue on those months. I want to create rows for those resellers with the missing date and the revenue for those missing dates to be updated as blank.
Please advise how we can achieve this.
Current data:
Expected result:
Could somebody please help on this?
Hello @Anonymous,
Can you please try this -
1. Create one CalculatedTable using DimCalendar = CalenderAuto() function.
2. Give relationship of DimCalendar and you Data Table on Date Column.
3. Pull Date field from DimCalendar in your visual instead of your Data Table.
4. Enable "Show Items with No Data" for Date column in field option for your visual.
Please mark it as solution if it resolves your issue. Kudos are also appreciated.
Cheers,
Shishir
Hi @Shishir22
I actually want to create rows in the table where the data is missing for particular month. it should show all the dates(feb-21 to mar-22) for all the customers with the revenue as blank whereever the date is missing for the customers
Can you please try above steps.
It should show expected result.
Thanks,
Shishir
Hi,
Please try to replace your [Revenue] measure with the below.
Revenue measure fix: =
COALESCE ( [Revenue], "" )
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 38 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 68 | |
| 34 | |
| 33 | |
| 30 |