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
I have a simple table
A matrix with a slicer shows:
But on the 20 January it shows only male:
But i like to see it with "F" column with 0 values. How can i do that?
Solved! Go to Solution.
Just wrap it around the main expression:
YTD = TOTALYTD(
IF(ISBLANK(SUM('Sheet1'[Value]),0,SUM(Sheet2[Value]))
,'Sheet1'[Date].[Date]
,'Sheet1'[Date]<= SELECTEDVALUE(Sheet1[Date])
)
Try this: CLick on the matrix. Click on the V next to fields you want to show
I did:
But the result is same.
Then you have two options. Separate the Sex column into its own dimension:
Or fill in the missing entries with Zeros
I split into separate Dimension and it works:
Matrix Settings:
Well.. doesn't show a 0... just blank.
Be sure to mark as solution if this provided the answer.
Thanks @Data-estDog . But on YTD shows no value for F.
YTD = TOTALYTD(SUM('Sheet1'[Value]), 'Sheet1'[Date].[Date], 'Sheet1'[Date]<= SELECTEDVALUE(Sheet1[Date]))
Fair enough. One more trick. Instead of adding an implicit measure, add and explicit measure and correct for isblank:
Can you please explain. How can i do it with YTD measure? YTD of 20 January should show the F value 30 not 0.
Just wrap it around the main expression:
YTD = TOTALYTD(
IF(ISBLANK(SUM('Sheet1'[Value]),0,SUM(Sheet2[Value]))
,'Sheet1'[Date].[Date]
,'Sheet1'[Date]<= SELECTEDVALUE(Sheet1[Date])
)
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 |
|---|---|
| 52 | |
| 38 | |
| 37 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 67 | |
| 34 | |
| 32 | |
| 29 |