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 September 15. Request your voucher.
Now my matrix visual looks like this: I placed status in the value field and the same status column in the row field. I used conditional formatting to color the background and also used green color on the blank value and 'D'.
However, I would like the visual to appear like this.
The idea is simple. The D is the available item. D should appear after or before A, B, or C on the chart depending on the date. Some item statuses have only D, thus I can't filter them out.
It would be fantastic if anyone could assist with this report direct query method.
Hi @aslam-ansari ,
Try the following:
Values =
VAR calculationvalue =
CALCULATE (
MIN ( 'Item'[Status] ),
'Item'[Week] = SELECTEDVALUE ( Weeks[Week] )
)
RETURN
IF ( ISBLANK ( calculationvalue ), "D", calculationvalue )
Top one is with the measure bottom one is you data raw:
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsUser | Count |
---|---|
69 | |
64 | |
62 | |
55 | |
28 |
User | Count |
---|---|
112 | |
81 | |
65 | |
48 | |
38 |